Sha256: 985e82b4c1349e204dd63348d6beb2cfe7a0d66eb0daa631f4c6515d696e4479

Contents?: true

Size: 421 Bytes

Versions: 10

Compression:

Stored size: 421 Bytes

Contents

class Scout::Realtime::Processes < Scout::Realtime::Metric
  include Scout::Realtime::MultiAggregator

  FIELDS = { :cpu              => {'label'=>'CPU usage', 'units'=>'%', 'precision'=>2},
             :memory           => {'units'=>'MB', 'precision'=>1},
             :count            => {'units'=>'', 'precision'=>0}
           }

  def initialize
    @collector = ServerMetrics::Processes.new()
    super
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
scout_realtime-1.0.5 lib/scout_realtime/models/processes.rb
scout_realtime-1.0.4 lib/scout_realtime/models/processes.rb
scout_realtime-1.0.3 lib/scout_realtime/models/processes.rb
scout_realtime-1.0.3.pre lib/scout_realtime/models/processes.rb
scout_realtime-1.0.2 lib/scout_realtime/models/processes.rb
scout_realtime-1.0.1 lib/scout_realtime/models/processes.rb
scout_realtime-1.0.0 lib/scout_realtime/models/processes.rb
scout_realtime-0.5.5 lib/scout_realtime/models/processes.rb
scout_realtime-0.5.5.pre lib/scout_realtime/models/processes.rb
scout_realtime-0.5.4 lib/scout_realtime/models/processes.rb