module StatsD::Instrument::Helpers

Public Instance Methods

capture_statsd_calls(client: nil, &block)

For backwards compatibility

capture_statsd_datagrams(client: nil, &block) click to toggle source
# File lib/statsd/instrument/helpers.rb, line 6
def capture_statsd_datagrams(client: nil, &block)
  client ||= StatsD.singleton_client
  client.capture(&block)
end
Also aliased as: capture_statsd_calls