Method: ElasticAPM::Metrics::Registry#stop

Defined in:
lib/elastic_apm/metrics.rb

#stopObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



75
76
77
78
79
80
81
82
# File 'lib/elastic_apm/metrics.rb', line 75

def stop
  return unless running?

  debug 'Stopping metrics'

  @timer_task.shutdown
  @running = false
end