HTTP API metrics not showing in CloudWatch automatic dashboard

2

I have created a simple HTTP API and tested it using cURL. When I go to CloudWatch, no metrics are displayed. My understanding is that AWS automatically collects default metrics on HTTP APIs. Wondering why they don't show up?

I also have logging enabled on the API and the logging metrics (for that log group) show in the automatic dashboard. As do other services that I'm using (and have done nothing special to enable)--S3, etc.

Can someone please confirm that the HTTP API metrics should show in the automatic API Gateway dashboard, or provide some hint as to why I may not be seeing them.

My user is in the Developer group.

  • Same issue, the metrics are there, just not on the automatically generated dashboard.

1 個回答
-1

Hi,

Can you please check if this blog solves your problem : https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-cloudwatch-logs/

AWS
已回答 2 年前
  • Thanks for taking the time to reply.

    I looked at that page and it's about logs. As I mentioned, I have logs working for my HTTP API. Their log events show up in the automatic dashboard.

    My problem is with metrics. They are supposedly captured by default. But they don't show up in the automatic dashboard. I have been able to find some of them using the cli (aws cloudwatch get-metric-statistics ...) so don't understand why they're not automatically populating the automatic dashboard like logs, S3, etc.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南