node_exporter/example.rules
Ben Kochie 2a0c80cbe2 Fix example.rules typos.
Thanks for spotting those @grobie.
2017-01-17 21:52:59 +01:00

9 lines
364 B
Plaintext

# The count of CPUs per node, useful for getting CPU time as a percent of total.
instance:node_cpus:count = count(node_cpu{mode="idle"}) without (cpu,mode)
# CPU in use by CPU.
instance_cpu:node_cpu_not_idle:rate5m = sum(rate(node_cpu{mode!="idle"}[5m])) without (mode)
# CPU in use by mode.
instance_mode:node_cpu:rate5m = sum(rate(node_cpu[5m])) without (cpu)