lib/ddtrace/contrib/httprb/patcher.rb in ddtrace-0.49.0 vs lib/ddtrace/contrib/httprb/patcher.rb in ddtrace-0.50.0
- old
+ new
@@ -24,10 +24,10 @@
# patch applies our patch
def patch
PATCH_ONLY_ONCE.run do
begin
- ::HTTP::Client.send(:include, Instrumentation)
+ ::HTTP::Client.include(Instrumentation)
rescue StandardError => e
Datadog::Logger.error("Unable to apply httprb integration: #{e}")
end
end
end