API gateway metrics are not showing /metrics

66 views
Skip to first unread message

achuth...@gmail.com

unread,
May 28, 2019, 12:58:17 PM5/28/19
to Prometheus Users

I have tried below configuration for API Gateway configuration, Metrics endpoint is not showing per API metrics, below is config, and CLI works for same set of metrics and dimensions.


- aws_namespace: AWS/ApiGateway

  aws_metric_name: Latency

  aws_dimensions: [ApiName]

  aws_statistics: [Sum]


- aws_namespace: AWS/ApiGateway

  aws_metric_name: Count

  aws_dimensions: [ApiName]

  aws_statistics: [Sum]


- aws_namespace: AWS/ApiGateway

  aws_metric_name: 5XXError

  aws_dimensions: [ApiName]

  aws_statistics: [Sum]


- aws_namespace: AWS/ApiGateway

  aws_metric_name: 4XXError

  aws_dimensions: [ApiName]

  aws_statistics: [Sum]


CLI command


`aws cloudwatch get-metric-statistics --namespace "AWS/ApiGateway" --metric-name Latency --start-time 2019-05-25T00:09:00 --end-time 2019-05-28T00:10:00 --period 600 --statistics Sum --dimensions=Name=ApiName,Value="APINameForMetrics"`


please help on resolving the issue.

Reply all
Reply to author
Forward
0 new messages