Module: PdMetrics::NumericExtensions

Defined in:
lib/pd_metrics.rb

Instance Method Summary collapse

Instance Method Details

#counterObject



226
227
228
# File 'lib/pd_metrics.rb', line 226

def counter
  PdMetrics::Counter.new(self)
end

#gaugeObject



222
223
224
# File 'lib/pd_metrics.rb', line 222

def gauge
  PdMetrics::Gauge.new(self)
end

#histogramObject



230
231
232
# File 'lib/pd_metrics.rb', line 230

def histogram
  PdMetrics::Histogram.new(self)
end