Sha256: 5139a533aa65da0896bc30e01f2ae0d298966a55924bd3d9b00ed853fd384346

Contents?: true

Size: 490 Bytes

Versions: 13

Compression:

Stored size: 490 Bytes

Contents

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

  FIELDS = { :bytes_in =>    { 'units' => 'KB/s', 'precision' => '0' },
             :bytes_out =>   { 'units' => 'KB/s', 'precision' => '0' },
             :packets_in =>  { 'units' => 'pkts/s', 'precision' => '0' },
             :packets_out => { 'units' => 'pkts/s', 'precision' => '0'  }
           }

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
scout_realtime-1.0.5 lib/scout_realtime/models/network.rb
scout_realtime-1.0.4 lib/scout_realtime/models/network.rb
scout_realtime-1.0.3 lib/scout_realtime/models/network.rb
scout_realtime-1.0.3.pre lib/scout_realtime/models/network.rb
scout_realtime-1.0.2 lib/scout_realtime/models/network.rb
scout_realtime-1.0.1 lib/scout_realtime/models/network.rb
scout_realtime-1.0.0 lib/scout_realtime/models/network.rb
scout_realtime-0.5.5 lib/scout_realtime/models/network.rb
scout_realtime-0.5.5.pre lib/scout_realtime/models/network.rb
scout_realtime-0.5.4 lib/scout_realtime/models/network.rb
scout_realtime-0.5.3 lib/scout_realtime/models/network.rb
scout_realtime-0.5.2 lib/scout_realtime/models/network.rb
scout_realtime-0.5.1 lib/scout_realtime/models/network.rb