-
Notifications
You must be signed in to change notification settings - Fork 337
Open
Labels
Description
What did you do
We are scraping custom CloudWatch metrics coming from Artillery.
Configuration snippet:
region: eu-west-2
role_arn: arn:aws:iam::xxx:role/grafana
delay_seconds: 0
use_get_metric_data: true
metrics:
- aws_namespace: PerformanceTesting
aws_metric_name: "http.requests"
aws_dimensions: [Name, Test]
aws_statistics: [Sum]
Metric data shown in CloudWatch UI:
Metric data returned from CloudWatch API:
{
"MetricDataResults": [
{
"Id": "m1",
"Label": "http.requests",
"Timestamps": [
"2024-09-24T12:31:00+00:00",
"2024-09-24T12:30:00+00:00"
],
"Values": [
16.0,
44.0
],
"StatusCode": "Complete"
}
],
"Messages": []
}
What did you expect to see?
Prometheus metrics in Grafana matching metrics in CloudWatch.
What did you see instead? Under which circumstances?
First 2 data points matching CloudWatch then the last value repeated for 5-10 minutes.
Metric data in Grafana:
Are you currently working around this issue?
No
Environment
# docker images | grep cloudwatch-exporter
prom/cloudwatch-exporter latest 70a238bc9c70 5 weeks ago 297MB


