lib/instana/instrumentation/rest-client.rb in instana-1.193.2 vs lib/instana/instrumentation/rest-client.rb in instana-1.193.3.pre1
- old
+ new
@@ -15,10 +15,5 @@
::Instana.tracer.log_exit(:'rest-client')
end
end
end
end
-
-if defined?(::RestClient::Request) && ::Instana.config[:'rest-client'][:enabled]
- ::Instana.logger.debug "Instrumenting RestClient"
- ::RestClient::Request.send(:prepend, ::Instana::Instrumentation::RestClientRequest)
-end