optimize cloudwatch api calls metrics

0

Those cloudwatch metrics cost me 500$ per month :

347.01$ GetMetricData

53.37$ GetMetricStatistics

ListMetrics : 45$

MetricStorage : 54$ MetricStorage:AWS/EC2 : 14$ MetricStorage:AWS/S3 && MetricStorage:AWS/Beanstalk 3.38$ PutLogEvents 11.5$

PutMetricData 1.5$

Uknown : 4$

i wanna a way to know the services that use those metrics most specifically the GetMetricData metric , and how to optimize the cost generated by those apis calls

just to know the cloudtrail isn't enabled , so if there any alternative , if not how to do acheive that with cloudtrail ??

1개 답변
2

GetMetricData is used to retrieve metric data-sets from CloudWatch. Excessively high numbers of GetMetricData calls are often due to 3rd-party tooling or services (such as DataDog and similar services) that are using CloudWatch data to create dashboards and other visualizations.

You can enable logging for CloudWatch data-api's to CloudTrail and then you will be able to review CloudTrail and see the identify of the caller making these calls, and knowing that make changes that could reduce the number of calls.

Ref: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/logging_cw_api_calls.html#CloudWatch-data-plane-events

AWS
전문가
답변함 6달 전
profile picture
전문가
검토됨 6달 전
profile picture
전문가
검토됨 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인