Skip to content

use average for cpu utilization to aligns with AWS best practice #1674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

yduartep
Copy link
Contributor

@yduartep yduartep commented Apr 10, 2025

Within the aws-rds dashboard which rolls with the AWS integration, the first panel (CPU utilization) uses the metric maximum to show utilization:

aws_rds_cpuutilization_maximum

this should use average

aws_rds_cpuutilization_average

The justification for this is that average represents a sustained load, is less susceptible to spikes and generally aligns with AWS best practice in terms of auto scaling instances. Max generally should only be used for diagnosing specific issues with a machine. For that reason I think is is useful to have both.

The result will be something like this:
Screenshot 2025-04-10 at 11 46 52

@yduartep yduartep force-pushed the yduartep/change-rds-cpu-max-metric-to-average branch from badce23 to 8eedde7 Compare April 10, 2025 08:46
@yduartep yduartep force-pushed the yduartep/change-rds-cpu-max-metric-to-average branch from 4153b20 to 7a47fcb Compare April 10, 2025 09:51
@cristiangreco cristiangreco merged commit 92e1910 into prometheus-community:master Apr 10, 2025
10 checks passed
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.

2 participants