mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
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.
|
||||
record: 'instance:node_num_cpu:sum',
|
||||
expr: |||
|
||||
count without (cpu) (
|
||||
count without (cpu, mode) (
|
||||
node_cpu_seconds_total{%(nodeExporterSelector)s,mode="idle"}
|
||||
)
|
||||
||| % $._config,
|
||||
|
Loading…
Reference in New Issue
Block a user