Commit 22ab621a authored by Ben Kochie's avatar Ben Kochie

Add recoring rules for node_exporter.

Include the example rules from the node_exporter[0].

parent e095af9e
# 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment