Aggregate Metrics (SUM) changes on period change in Cloudwatch.
We are having a cloudwatch dashboard containing graphs for different metrics. When we want to see a total number of metrics logged in a particular time period. Lets say the total number of metrics published during the month of May, we go to this graph and select the time range for which we want to see the graph. On hovering over the graph, It shows us Aggregated Sum of the total metrics count over the selected time period.
But when we change the time period range from 1 hour to 5 min or any other range, the aggregate metrics changes. Why does the change in interval period affect the aggregated metrics.
In the image attached in the link, when we change the period of 1 hour to any other period, it changes the aggregated metrics. Link
There are two time periods to configure. The one above the chart is the time period that the chart will cover. The one above the metric, labelled "period" and next to "statistic" is the sample period over which the selected statistic is applied. In your use case this is sum over either 5 minutes or one hour. When hovering over the chart you're shown the time slot and the metric value over that time slot. If you move left or right you'll see a different time slot with it's own corresponding value. So if you change from a 5 minute to a one hour sample period, assuming your data is evenly distributed, you'll see a 12-fold increase in the sum. Changing the chart time period - the one at the top - will just show more of these 5 minute or one hour samples, but won't change the aggregation.
The aggregation period can be set up to 30 days if that helps? There's the option of downloading the data as CSV if you need more control.
No metrics in Amazon Translate and CloudWatch dashboardsasked 3 years ago
Doubt about cloudwatch metricsasked 3 months ago
Cost of Amazon CloudFront additional metricsAccepted Answerasked 2 years ago
CloudWatch how to disable metrics?asked 4 years ago
HTTP API metrics not showing in CloudWatch automatic dashboardasked 6 months ago
How to rename Name in Namespace on Cloudwatch All MetricsAccepted Answerasked 3 months ago
Recreate "monitoring" tab as a dashboard in cloudwatchasked 7 months ago
Aggregate Metrics (SUM) changes on period change in Cloudwatch.asked a month ago
AWS CloudWatch metrics to OpenSearchasked 3 months ago
RDS Cloudwatch Metrics : ReadIOPS and WriteIOPSAccepted Answerasked 3 years ago