class StatsdServer::Stats
Attributes
counters[RW]
gauges[RW]
logger[RW]
timers[RW]
Public Class Methods
new()
click to toggle source
# File lib/statsdserver/stats.rb, line 11 def initialize @timers = Hash.new { |h, k| h[k] = Array.new } @counters = Hash.new { |h, k| h[k] = 0 } @gauges = Hash.new { |h, k| h[k] = 0 } @logger = Logger.new(STDERR) end