prometheus / cloudwatch_exporter

Metrics exporter for Amazon AWS CloudWatch
Apache License 2.0
907 stars 326 forks source link

[metrics]: StepFunction Metrics Not Exported #725

Open SkylarLNH1029 opened 3 months ago

SkylarLNH1029 commented 3 months ago

I deployed a cloudwatch exporter, all my other metrics are successfully exported, eg.ECS, ALB, Billing ...

However, I added a few AWS/States (StepFunction) metrics in my config. My config for step function metrics:

aws_namespace: AWS/States
aws_metric_name: ExecutionStarted
aws_dimensions:
- StateMachineArn
aws_statistics:
- Maximum
- Minimum
- Average
- Sum
range_seconds: 3600

I don't see any aws_states_XXX metrics being exported.

I see metrics for the exporter with "created total = 0": cloudwatch_metrics_requested_total{..., metric_name="ExecutionStarted", namespace="AWS/States"} = 188 cloudwatch_metrics_requested_created_total{..., metric_name="ExecutionStarted", namespace="AWS/States"} = 0

This is definitely not a permission issue, as my other metrics are successfully exported What am I missinh? How can I debug.