Hi,

I am using following configurations for cloudwatch exporter to get API 
Gateway metrics. However, I am not able to see the metrics in prometheus. 
Could someone please help on this? Please let me know, if there is any 
issue with below configuration.

region: us-west-2
delay_seconds: 600
mappings:
 - name: AWS/APIGateway
   id_field: ApiName
   lookup_url: aws/apigateway
   


metrics:
 - aws_namespace: AWS/APIGateway
   aws_metric_name: 4XXError
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]

 - aws_namespace: AWS/APIGateway
   aws_metric_name: 5XXError
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]

 - aws_namespace: AWS/APIGateway
   aws_metric_name: CacheHitCount
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]
   
 - aws_namespace: AWS/APIGateway
   aws_metric_name: CacheMissCount
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]

 - aws_namespace: AWS/APIGateway
   aws_metric_name: Count
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]

 - aws_namespace: AWS/APIGateway
   aws_metric_name: IntegrationLatency
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]
   
 - aws_namespace: AWS/APIGateway
   aws_metric_name: Latency
   aws_dimensions: [ApiName, Method, Resource, Stage]
   aws_statistics: [Average, Min, Max, Sum]


Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/01405d5a-7a1b-406e-911f-ff32f35c3147o%40googlegroups.com.

Reply via email to