Skip to content

Conversation

iliapolo
Copy link
Contributor

The Requests metric that CloudFront emits should use the Sum statistic, not Average.

See Requests in https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/programming-cloudwatch-metrics.html#cloudfront-metrics-distribution-values

In addition, change the period of the CloudFront metrics in the overview dashboard to 1 day (from 5 minutes):

  • We usually like to talk about "requests per day" to asses usage, over "requests per 5 minutes".
  • It allows for easier trend detection when looking at a large window.

Before

Screenshot 2025-07-30 at 9 36 52 PM

After

Screenshot 2025-07-30 at 9 37 18 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

iliapolo and others added 2 commits July 30, 2025 21:54
Signed-off-by: github-actions <github-actions@github.com>
@cdklabs-automation cdklabs-automation added this pull request to the merge queue Jul 31, 2025
Merged via the queue into main with commit 265a6df Jul 31, 2025
5 checks passed
@cdklabs-automation cdklabs-automation deleted the epolon/cloudfront-metrics branch July 31, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants