Module: Datadog::Tracing::Contrib::Httpclient::Patcher

Includes:
Patcher
Defined in:
lib/datadog/tracing/contrib/httpclient/patcher.rb

Overview

Patcher enables patching of ‘httpclient’ module.

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



22
23
24
# File 'lib/datadog/tracing/contrib/httpclient/patcher.rb', line 22

def patch
  ::HTTPClient.include(Instrumentation)
end

.target_versionObject



18
19
20
# File 'lib/datadog/tracing/contrib/httpclient/patcher.rb', line 18

def target_version
  Integration.version
end