Description of problem: When viewing the node's CPU usage, the y axis is supposed to have units of percentage, but instead it's showing seconds. When I looked at the graph when the node was idle, the y axis showed "500m" and "1", instead of "0.5%" and "1%". By comparison, the same graph in the bare metal host dashboard is showing the results correctly in percentages. Version-Release number of selected component (if applicable): 4.2.0-0.nightly-2019-09-11-032939 How reproducible: 100% Steps to Reproduce: 1. Browse to Compute -> Nodes 2. Click on one of the nodes 3. See the CPU usage graph in the node's dashboard Actual results: The units on the y axis are apparently seconds instead of percentages
Created attachment 1614329 [details] CPU Usage graph See attached screen shot of CPU Usage graph.
It actually seems that the unit is correct in Nodes graph and is incorrect in baremetal host cpu utilisation graph. `instance:node_cpu:rate:sum` should use 'humanizeCpuCores' funnction to get correct units.
If I check on the node with "top" - I can see the CPU is measured in us. However, when I load the CPU and the usage climbs to ~7.6, the graphs show ~2.5. So the question is really what's the intended units of these graphs, and how to test the result for correctness. By the way to load the CPU - I run in the background: dd if=/dev/zero of=/dev/null &
The newly redesigned utilization card for the baremetal host has percentages. https://docs.google.com/document/d/1q0DIcUKgFhvNbtGt-SMl35Z2jHA_QO2r7aaBuFmwE2U/edit#
We're expecting to see percentages, like in the design doc. There are now no units at all - just a plain number.
The PR linked changes the units on the CPU graph in the baremetal dashboard to be consistent with the one on the Node detail page. As such, this shouldn't fail QA. The percentages that you mention are part of the redesign of the utilization card, and this hasn't been implemented yet.
(In reply to Udi from comment #6) > We're expecting to see percentages, like in the design doc. There are now no > units at all - just a plain number. Udi, per comment #7, could you re-verify this bug?
I don't think we use should show percentages. I'd expect the values to be in cores and millicores.
Bare Metal host CPU utilisation is consistent with other CPU utilisation graphs in other dashboards and uses cores/millicores (as described in https://bugzilla.redhat.com/show_bug.cgi?id=1751541#c7 and https://bugzilla.redhat.com/show_bug.cgi?id=1751541#c11). Closing. Feel free to reopen if needed.