Module: StatsD::Instrument::StrictMetaprogramming
- Included in:
- StatsD::Instrument
- Defined in:
- lib/statsd/instrument/strict.rb
Instance Method Summary collapse
- #statsd_count(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object
- #statsd_count_if(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object
- #statsd_count_success(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object
- #statsd_distribution(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object
- #statsd_measure(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object
Instance Method Details
#statsd_count(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) ⇒ Object
127 128 129 130 |
# File 'lib/statsd/instrument/strict.rb', line 127 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
122 123 124 125 |
# File 'lib/statsd/instrument/strict.rb', line 122 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
117 118 119 120 |
# File 'lib/statsd/instrument/strict.rb', line 117 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
112 113 114 115 |
# File 'lib/statsd/instrument/strict.rb', line 112 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
107 108 109 110 |
# File 'lib/statsd/instrument/strict.rb', line 107 def statsd_measure(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) check_method_and_metric_name(method, name) super end |