module StatsD::Instrument::Matchers
Constants
- Distribution
- Gauge
- Histogram
- Increment
- Measure
- Set
Public Instance Methods
trigger_statsd_distribution(metric_name, options = {})
click to toggle source
# File lib/statsd/instrument/matchers.rb, line 114 def trigger_statsd_distribution(metric_name, options = {}) Distribution.new(:d, metric_name, options) end
trigger_statsd_gauge(metric_name, options = {})
click to toggle source
# File lib/statsd/instrument/matchers.rb, line 102 def trigger_statsd_gauge(metric_name, options = {}) Gauge.new(:g, metric_name, options) end
trigger_statsd_histogram(metric_name, options = {})
click to toggle source
# File lib/statsd/instrument/matchers.rb, line 110 def trigger_statsd_histogram(metric_name, options = {}) Histogram.new(:h, metric_name, options) end
trigger_statsd_increment(metric_name, options = {})
click to toggle source
# File lib/statsd/instrument/matchers.rb, line 94 def trigger_statsd_increment(metric_name, options = {}) Increment.new(:c, metric_name, options) end
trigger_statsd_measure(metric_name, options = {})
click to toggle source
# File lib/statsd/instrument/matchers.rb, line 98 def trigger_statsd_measure(metric_name, options = {}) Measure.new(:ms, metric_name, options) end
trigger_statsd_set(metric_name, options = {})
click to toggle source
# File lib/statsd/instrument/matchers.rb, line 106 def trigger_statsd_set(metric_name, options = {}) Set.new(:s, metric_name, options) end