node_exporter
node_exporter copied to clipboard
mixin: Fix cpu usage graph
See https://github.com/prometheus/node_exporter/pull/1448/files#r1741178030 for the normalization for the number of cores.
So this is a makeshift setup: My laptop with 16 "11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz" cores, running the Promtheus unit tests, using the original query from the mixin. As you can see, it nicely goes up all the way to 1.
And in case that was misunderstood: The query is meant to go up to 1 for the stacked result. So on a 16 core system, every single number in the query output would only be up to 1/16th indeed.