Sha256: 151fc731e355c83372a2e636d92b4252b39bfed3a89184e7370fbba359b188d6

Contents?: true

Size: 822 Bytes

Versions: 1

Compression:

Stored size: 822 Bytes

Contents

# frozen_string_literal: true

# Require 'datadog/di/init' early in the application boot process to
# enable dynamic instrumentation for third-party libraries used by the
# application.

require_relative '../tracing'
require_relative '../tracing/contrib'
require_relative '../di'

# Code tracking is required for line probes to work; see the comments
# on the activate_tracking methods in di.rb for further details.
#
# Unlike di.rb which conditionally activates tracking only if the
# DD_DYNAMIC_INSTRUMENTATION_ENABLED environment variable is set, this file
# always activates tracking. This is because this file is explicitly loaded
# by customer applications for the purpose of enabling code tracking
# early in application boot process (i.e., before datadog library itself
# is loaded).
Datadog::DI.activate_tracking

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog-2.8.0 lib/datadog/di/init.rb