From 2a0c80cbe219cd565a777410d760d2919ed19759 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Tue, 17 Jan 2017 21:52:59 +0100 Subject: [PATCH] Fix example.rules typos. Thanks for spotting those @grobie. --- example.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example.rules b/example.rules index b98e3252..a44fecf4 100644 --- a/example.rules +++ b/example.rules @@ -2,7 +2,7 @@ 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) +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) +instance_mode:node_cpu:rate5m = sum(rate(node_cpu[5m])) without (cpu)