Module: Datadog::Tracing::Contrib::Extensions::Helpers

Defined in:
lib/datadog/tracing/contrib/extensions.rb

Overview

Helper methods for Datadog module.

Instance Attribute Summary collapse

Instance Attribute Details

#registryDatadog::Tracing::Contrib::Registry (readonly)

The global integration registry.

This registry holds a reference to all integrations available to the tracer.

Integrations registered in the #registry can be activated as follows:

“‘ Datadog.configure do |c|

c.tracing.instrument :my_registered_integration, **my_options

end “‘

New integrations can be registered by implementing the Integration interface.



50
51
52
# File 'lib/datadog/tracing/contrib/extensions.rb', line 50

def registry
  Contrib::REGISTRY
end