Module: Datadog::Tracing::Contrib::HTTP::Patcher
- Includes:
- Patcher
- Defined in:
- lib/datadog/tracing/contrib/http/patcher.rb
Overview
Patcher enables patching of ‘net/http’ module.
Class Method Summary collapse
-
.patch ⇒ Object
patch applies our patch if needed.
- .target_version ⇒ Object
Methods included from Patcher
Class Method Details
.patch ⇒ Object
patch applies our patch if needed
23 24 25 |
# File 'lib/datadog/tracing/contrib/http/patcher.rb', line 23 def patch ::Net::HTTP.include(Instrumentation) end |
.target_version ⇒ Object
18 19 20 |
# File 'lib/datadog/tracing/contrib/http/patcher.rb', line 18 def target_version Integration.version end |