class StatsD::Instrument::Backend
This abstract class specifies the interface a backend implementation should conform to. @abstract
Public Instance Methods
collect_metric(_metric)
click to toggle source
Collects a metric.
@param metric [StatsD::Instrument::Metric] The metric to collect @return [void]
# File lib/statsd/instrument/backend.rb, line 10 def collect_metric(_metric) raise NotImplementedError, "Use a concrete backend implementation" end