mixin: Drop mode label for num cpu metric

Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
This commit is contained in:
Johannes 'fish' Ziemke 2021-09-03 12:13:35 +02:00
parent fa9926c4eb
commit 6f1286b314
1 changed files with 1 additions and 1 deletions

View File

@ -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,