Home icon

Identifying resources driving Amazon CloudWatch GetMetricData charges using AWS CloudTrail

AWS Cloud Operations Blog



This article provides a comprehensive guide to identifying and managing Amazon CloudWatch GetMetricData API charges using AWS CloudTrail and analytics tools.

  • Organizations often incur high costs from third-party monitoring tools retrieving CloudWatch metric data
  • AWS introduced CloudTrail data events for CloudWatch to help customers investigate API usage
  • The solution involves enabling CloudWatch data events in CloudTrail and using Athena or CloudWatch Log Insights to analyze API calls
  • Key analysis methods include identifying API calls by: • IAM Role/User • User Agent • Client IP Address • AWS Account ID
  • Best practices to reduce GetMetricData costs include: • Limiting metric retrieval • Revoking unnecessary permissions • Using CloudWatch Metric Streams

The article provides a step-by-step approach to understanding and optimizing CloudWatch API usage and associated costs.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 6
2024
Amazon CloudWatch GetMetricData API now supports AWS CloudTrail data event logging
Jul 1
2025
Amazon CloudWatch PutMetricData API now supports AWS CloudTrail data event logging
Oct 8
2024
Analyzing your custom metrics spend contributors in Amazon CloudWatch
Sep 4
2024
Leveraging AWS CloudTrail Insights for Proactive API Monitoring and Cost Optimization

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.