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

- old
+ new

@@ -1,9 +1,7 @@ class Riemann::Babbler::La < Riemann::Babbler def collect - { - "la_1" => File.read('/proc/loadavg').split(/\s+/)[2].to_f - } + { :service => plugin.service + "la_1", :metric => File.read('/proc/loadavg').split(/\s+/)[2].to_f } end end