Method: Datadog::DI.enabled?

Defined in:
lib/datadog/di.rb

.enabled?Boolean

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.

Returns:

  • (Boolean)


29
30
31
# File 'lib/datadog/di.rb', line 29

def enabled?
  Datadog.configuration.dynamic_instrumentation.enabled
end