-
Notifications
You must be signed in to change notification settings - Fork 593
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
incorrect query for "usage per core" on nodes dashboard #131
Comments
I'm not entirely sure what the best aggregate with this is. Comparing the graphs with @tomwilkie do you have any insights into this one? You originally worked on this Node dashboard. |
A cpu core is being "used" if it is not in an idle state. The only way to calculate the percentage of time the core is being used is to sum the amount of time spent in all other CPU states. If a single process thread is using 100% of a CPU
If you used 'avg', the CPU utilization would be incorrectly reported as 14.28%. |
That makes a lot of sense. I will wait for some more comments and then go ahead with merging #132 |
Hey, just saying, that exact PR is open since about a month.... #118 |
Whoops. Sorry about that. We'll merge #118 then. |
Closing as fixed by #118 |
kubernetes-mixin/dashboards/node.libsonnet
Line 33 in d0209e8
the query is currently showing the average of iowait, irq, nice, softirq, steal, system and user instead of the sum.
Also the y-axis is set to "percent 0.0-1.0", but the datapoints are "0-100"
The text was updated successfully, but these errors were encountered: