Method: NewRelic::Agent#shutdown
- Defined in:
- lib/new_relic/agent.rb
#shutdown(options = {}) ⇒ Object
Shutdown the agent. Call this before exiting. Sends any queued data and kills the background thread.
456 457 458 459 |
# File 'lib/new_relic/agent.rb', line 456 def shutdown( = {}) record_api_supportability_metric(:shutdown) agent&.shutdown end |