Module: Datadog::Contrib::HTTP::Patcher
- Includes:
- Patcher
- Defined in:
- lib/ddtrace/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
21 22 23 |
# File 'lib/ddtrace/contrib/http/patcher.rb', line 21 def patch ::Net::HTTP.include(Instrumentation) end |
.target_version ⇒ Object
16 17 18 |
# File 'lib/ddtrace/contrib/http/patcher.rb', line 16 def target_version Integration.version end |