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 Answer
0
Accepted Answer

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
EXPERT
answered 9 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions