Skip to content

Monitoring: Fix max CPU usage graph

Florian Sesser requested to merge grafana-max-cpu-fix into develop

The formula for displaying the maximum usage of any CPU core (since we're single threaded mostly) had a stupid bug - it would use the maximum idle % and subtract that from 1, yielding a chart that did nothing very useful at all but show some noise.

Here's the CPU usage of storage004 doing its monthly backup check-repo job for 1 hour:

Before this change:
before

After this change:
after

Edited by Florian Sesser

Merge request reports