Skip to content

Regression in NodeExporter.HostHighCpuLoad #457

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

Open
pfzetto opened this issue Mar 27, 2025 · 0 comments
Open

Regression in NodeExporter.HostHighCpuLoad #457

pfzetto opened this issue Mar 27, 2025 · 0 comments

Comments

@pfzetto
Copy link

pfzetto commented Mar 27, 2025

Hi,
I think that d916b7c has introduced the same bug reported in #336.
The avg() is taken over the cpu cores AND the modes, causing a result that is far lower than the actual usage.
I think that changing the expression to (avg by (instance) (sum by (instance,cpu) (rate(node_cpu_seconds_total{mode!="idle"}[2m])))) > .80' should fix this issue.

Cheers

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

1 participant