Skip to content

Commit

Permalink
mixin: Drop mode label for num cpu metric
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes 'fish' Ziemke <[email protected]>
  • Loading branch information
discordianfish committed Sep 3, 2021
1 parent fa9926c commit 6f1286b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/node-mixin/rules/rules.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6f1286b

Please sign in to comment.