Class: Parsers::Root

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

Constant Summary collapse

STATS =
{
  'process_count' => 'pool.used',
  'max' => 'pool.max',
  'get_wait_list_size' => 'request_queue'
}.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



9
10
11
12
13
# File 'lib/parsers/root.rb', line 9

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