Skip to content

Commit 1684f05

Browse files
discordianfishoblitorum
authored andcommitted
mixin: Drop mode label for num cpu metric
Signed-off-by: Johannes 'fish' Ziemke <[email protected]>
1 parent 5f8e3b8 commit 1684f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/node-mixin/rules/rules.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// This rule gives the number of CPUs per node.
99
record: 'instance:node_num_cpu:sum',
1010
expr: |||
11-
count without (cpu) (
11+
count without (cpu, mode) (
1212
node_cpu_seconds_total{%(nodeExporterSelector)s,mode="idle"}
1313
)
1414
||| % $._config,

0 commit comments

Comments
 (0)