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
20 21 22 |
# File 'lib/ddtrace/contrib/http/patcher.rb', line 20 def patch ::Net::HTTP.send(:include, Instrumentation) end |
.target_version ⇒ Object
15 16 17 |
# File 'lib/ddtrace/contrib/http/patcher.rb', line 15 def target_version Integration.version end |