Module: StatsD::Instrument::StrictMetaprogramming

Included in:
StatsD::Instrument
Defined in:
lib/statsd/instrument/strict.rb

Instance Method Summary collapse

Instance Method Details

#statsd_count(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object



123
124
125
126
# File 'lib/statsd/instrument/strict.rb', line 123

def statsd_count(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil)
  check_method_and_metric_name(method, name)
  super
end

#statsd_count_if(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object



118
119
120
121
# File 'lib/statsd/instrument/strict.rb', line 118

def statsd_count_if(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil)
  check_method_and_metric_name(method, name)
  super
end

#statsd_count_success(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object



113
114
115
116
# File 'lib/statsd/instrument/strict.rb', line 113

def statsd_count_success(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil)
  check_method_and_metric_name(method, name)
  super
end

#statsd_distribution(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object



108
109
110
111
# File 'lib/statsd/instrument/strict.rb', line 108

def statsd_distribution(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil)
  check_method_and_metric_name(method, name)
  super
end

#statsd_measure(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object



103
104
105
106
# File 'lib/statsd/instrument/strict.rb', line 103

def statsd_measure(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil)
  check_method_and_metric_name(method, name)
  super
end