Sha256: 746b6495daf0767ffb0ab37279b54f70a0766898383b09d50571e322a6954502
Contents?: true
Size: 246 Bytes
Versions: 30
Compression:
Stored size: 246 Bytes
Contents
#encoding: utf-8 class Riemann::Babbler::La < Riemann::Babbler def collect { :service => plugin.service + ' la_1', :description => 'LA averaged over 1 minute', :metric => File.read('/proc/loadavg').scan(/[\d\.]+/).first.to_f } end end
Version data entries
30 entries across 30 versions & 1 rubygems