Module: Napa::StatsDTimer::ClassMethods
- Defined in:
- lib/napa/stats_d_timer.rb
Instance Method Summary collapse
Instance Method Details
#report_time(timer_name, sample_rate: 1) ⇒ Object
15 16 17 18 19 |
# File 'lib/napa/stats_d_timer.rb', line 15 def report_time(timer_name, sample_rate: 1) new.report_time(timer_name, sample_rate: sample_rate) do yield end end |