Sha256: 15d9fcbc2d0a82b3c9693e3b5c12c68d73b4d48bfe3d5a333e4937c0e77bbf3a

Contents?: true

Size: 236 Bytes

Versions: 28

Compression:

Stored size: 236 Bytes

Contents

module StatsD::Instrument::Backends
  # The null backend does nothing when receiving a metric, effectively disabling the gem completely.
  class NullBackend < StatsD::Instrument::Backend
    def collect_metric(metric)
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
qubole-statsd-instrument-2.1.6 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.5 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.4 lib/statsd/instrument/backends/null_backend.rb
qubole-statsd-instrument-2.1.5 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.2 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.1 lib/statsd/instrument/backends/null_backend.rb
qubole-statsd-instrument-2.1.4 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0.beta6 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0.beta5 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0.beta4 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0.beta3 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0.beta2 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.3.0.beta lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.2.1 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.2.0 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.1.4 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.1.3 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.1.2 lib/statsd/instrument/backends/null_backend.rb
statsd-instrument-2.1.1 lib/statsd/instrument/backends/null_backend.rb