Api Gateway does not generate metrics on CloudWatch

0

We created some API Gateway resources of type AWS::Serverless::Api with CloudFormation in the same AWS account, where all have the same value of ApiName and with the MethodSetting parameter we enable the metrics for all paths that have the different API Gateway.

After creating the API Gateway resource in the Amazon console and after a few days of running requests on the API, we only see the metrics 4XXError, 5XXError, Count, Latencies and Integration Latencies corresponding to a single API Gateway, the rest of the API Gateway did not generate any metrics in CloudWatch.

At this point, we decided to assign a different API name to each API Gateway. However, these API Gateways still do not generate metrics in CloudWatch.

Any idea about the problem we are having?

1回答
0
承認された回答

Hello.
Have you run an API against an API Gateway that is not showing CloudWatch metrics?
If you are not running the API, I suspect that metrics will not be created.

profile picture
エキスパート
回答済み 9ヶ月前
  • Thanks for the reply. I would like to tell you that we have configured the route 53 health check resource that monitors one of the endpoints of the API Gateway, so requests to the API are constantly being generated. We are also making requests manually.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ