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, tag_error_class: false) ⇒ 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
128 129 130 131 |
# File 'lib/statsd/instrument/strict.rb', line 128 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
123 124 125 126 |
# File 'lib/statsd/instrument/strict.rb', line 123 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, tag_error_class: false) ⇒ Object
117 118 119 120 121 |
# File 'lib/statsd/instrument/strict.rb', line 117 def statsd_count_success(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil, tag_error_class: false) 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 |