mixin: Drop mode label for num cpu metric
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
This commit is contained in:
parent
fa9926c4eb
commit
6f1286b314
|
@ -8,7 +8,7 @@
|
||||||
// This rule gives the number of CPUs per node.
|
// This rule gives the number of CPUs per node.
|
||||||
record: 'instance:node_num_cpu:sum',
|
record: 'instance:node_num_cpu:sum',
|
||||||
expr: |||
|
expr: |||
|
||||||
count without (cpu) (
|
count without (cpu, mode) (
|
||||||
node_cpu_seconds_total{%(nodeExporterSelector)s,mode="idle"}
|
node_cpu_seconds_total{%(nodeExporterSelector)s,mode="idle"}
|
||||||
)
|
)
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
|
|
Loading…
Reference in New Issue