Class: Parsers::Process

Inherits:
Base
  • Object
show all
Defined in:
lib/parsers/process.rb

Constant Summary collapse

STATS =
%w[
  processed
  sessions
  busyness
  concurrency
  cpu
  rss
  private_dirty
  pss
  swap
  real_memory
  vmsize
].freeze

Constants inherited from Base

Base::PREFIX

Instance Attribute Summary

Attributes inherited from Base

#batch, #prefix, #tags, #xml

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Parsers::Base

Instance Method Details

#runObject



17
18
19
20
21
# File 'lib/parsers/process.rb', line 17

def run
  STATS.each do |key|
    gauge(key, key)
  end
end