Module: Datadog::Contrib::Extensions

Included in:
Datadog
Defined in:
lib/ddtrace/contrib/extensions.rb

Overview

Extensions that can be added to the base library Adds registry, configuration access for integrations.

DEV: The Registry should probably be part of the core tracer as it represents a global tracer repository that is strongly intertwined with the tracer lifecycle and deeply modifies the tracer initialization process. Most of this file should probably live inside the tracer core.

Defined Under Namespace

Modules: Configuration, Helpers

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



17
18
19
20
# File 'lib/ddtrace/contrib/extensions.rb', line 17

def self.extended(base)
  base.extend(Helpers)
  base.extend(Configuration)
end