2017-01-14 13:31:40 +00:00
|
|
|
# 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.
|
2017-01-17 20:52:59 +00:00
|
|
|
instance_cpu:node_cpu_not_idle:rate5m = sum(rate(node_cpu{mode!="idle"}[5m])) without (mode)
|
2017-01-14 13:31:40 +00:00
|
|
|
|
|
|
|
# CPU in use by mode.
|
2017-01-17 20:52:59 +00:00
|
|
|
instance_mode:node_cpu:rate5m = sum(rate(node_cpu[5m])) without (cpu)
|