Method: Datadog::Core::Configuration#shutdown!

Defined in:
lib/datadog/core/configuration.rb

#shutdown!Object

Gracefully shuts down all components.

Components will still respond to method calls as usual, but might not internally perform their work after shutdown.

This avoids errors being raised across the host application during shutdown, while allowing for graceful decommission of resources.

Components won’t be automatically reinitialized after a shutdown.



184
185
186
187
188
# File 'lib/datadog/core/configuration.rb', line 184

def shutdown!
  safely_synchronize do
    @components.shutdown! if components?
  end
end