aquarist-labs / aquarium

Project Aquarium is a SUSE-sponsored open source project aiming at becoming an easy to use, rock solid storage appliance based on Ceph.
https://aquarist-labs.io/
Other
71 stars 23 forks source link

CPU load is rendered as a percentage, but should be a float #754

Closed tserong closed 1 year ago

tserong commented 2 years ago

The dashboard shows CPU load, something like:

1 min  5 min  15 min
  6%    14%     17%

But, assuming this is CPU load as you'd see with top, those values aren't percentages. They're more like a process/thread count, so should be rendered as raw numbers - 0.06, 0.14, 0.17 in the above example.

jecluis commented 2 years ago

I think this should be a percentage, but we need to ensure that all cores/cpus are accounted for. The problem is that I suspect this has only been tested with virtual images with a single cpu count.