Class: StatsD::Instrument::NullSink
- Inherits:
-
Object
- Object
- StatsD::Instrument::NullSink
- Defined in:
- lib/statsd/instrument/null_sink.rb
Overview
Note:
This class is part of the new Client implementation that is intended to become the new default in the next major release of this library.
Instance Method Summary collapse
Instance Method Details
#<<(_datagram) ⇒ Object
12 13 14 |
# File 'lib/statsd/instrument/null_sink.rb', line 12 def <<(_datagram) self # noop end |
#sample?(_sample_rate) ⇒ Boolean
8 9 10 |
# File 'lib/statsd/instrument/null_sink.rb', line 8 def sample?(_sample_rate) true end |