Skip to content
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

Add alert rules for abnormal CPU usage and load #12

Closed
przemeklal opened this issue Oct 18, 2023 · 3 comments
Closed

Add alert rules for abnormal CPU usage and load #12

przemeklal opened this issue Oct 18, 2023 · 3 comments

Comments

@przemeklal
Copy link
Member

Enhancement Proposal

Currently, grafana-agent doesn't set up any generic alert rules for abnormal CPU usage and load. In terms of defining alert thresholds, Nagios defaults could be a good starting point.

@przemeklal przemeklal changed the title Alert rules for abnormal CPU usage and load Add alert rules for abnormal CPU usage and load Oct 18, 2023
@aieri
Copy link

aieri commented Oct 19, 2023

this request should already be fulfilled by canonical/grafana-agent-k8s-operator#191. Are those alerts not working well for you?

@przemeklal
Copy link
Member Author

We had a load-related outage that was not detected, irate(node_pressure_cpu_waiting_seconds_total{}) hit around 0.6 while the total CPU usage was hitting almost 100% and the average system load to CPU count ratio was way above 1.0. The alert threshold for irate(node_pressure_cpu_waiting_seconds_total{}) metric is 0.9 for the record.

That said, we're planning to first experiment with cos-config alert rules and then follow up here or submit a PR directly.

@Abuelodelanada
Copy link
Contributor

Abuelodelanada commented Nov 30, 2023

That said, we're planning to first experiment with cos-config alert rules and then follow up here or submit a PR directly.

Closing for now.

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

No branches or pull requests

3 participants