lib/riemann/babbler/plugins/cpu.rb in riemann-babbler-0.3.3 vs lib/riemann/babbler/plugins/cpu.rb in riemann-babbler-0.3.4

- old
+ new

@@ -11,9 +11,9 @@ total = used + i2-i1 fraction = used.to_f / total end @old_cpu = [u2, n2, s2, i2] - {"cpu" => fraction} + {:service => plugin.service, :metric => fraction} end end