Class: StatsD::Instrument::Backends::NullBackend

Inherits:
StatsD::Instrument::Backend show all
Defined in:
lib/statsd/instrument/backends/null_backend.rb

Overview

The null backend does nothing when receiving a metric, effectively disabling the gem completely.

Instance Method Summary collapse

Instance Method Details

#collect_metric(metric) ⇒ Object



4
5
# File 'lib/statsd/instrument/backends/null_backend.rb', line 4

def collect_metric(metric)
end