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 Risposta
0
Risposta accettata

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
ESPERTO
con risposta 9 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande