API Gateway billing

0

How to find out which service is mostly using my API Gateway coming to the billing part? (My API gateway billing alarm was triggered )

已提问 2 年前234 查看次数
1 回答
0

There is no metrics for API Gateway to show which clients are sending how many requests. Do you have access logs configured for the API stage? If not, I recommend enabling that and log variables like $context.identity.user, $context.identity.userAgent (if user-agent header can be used to determine a service). Once the access logs are generated, you can use CloudWatch Logs Insights to run a query to count the number of requests per user or any other attributes in logs.

AWS
Taka_M
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则