Class: StatsD::Instrument::Backend Abstract
- Inherits:
-
Object
- Object
- StatsD::Instrument::Backend
- Defined in:
- lib/statsd/instrument/backend.rb
Overview
This class is abstract.
This abstract class specifies the interface a backend implementation should conform to.
Direct Known Subclasses
StatsD::Instrument::Backends::CaptureBackend, StatsD::Instrument::Backends::LoggerBackend, StatsD::Instrument::Backends::NullBackend, StatsD::Instrument::Backends::UDPBackend
Instance Method Summary collapse
-
#collect_metric(metric) ⇒ void
Collects a metric.
Instance Method Details
#collect_metric(metric) ⇒ void
This method returns an undefined value.
Collects a metric.
9 10 11 |
# File 'lib/statsd/instrument/backend.rb', line 9 def collect_metric(metric) raise NotImplementedError, "Use a concerete backend implementation" end |