class Net::HTTP
Public Instance Methods
request(request, *args, &block)
Also aliased as: request_without_oneapm_trace
Alias for: request_with_oneapm_trace
request_with_oneapm_trace(request, *args, &block)
click to toggle source
# File lib/one_apm/inst/http_clients/net.rb, line 18 def request_with_oneapm_trace(request, *args, &block) wrapped_request = OneApm::Support::HTTPClients::NetHTTPRequest.new(self, request) OneApm::Agent::CrossAppTracing.tl_trace_http_request( wrapped_request ) do # RUBY-1244 Disable further tracing in request to avoid double # counting if connection wasn't started (which calls request again). OneApm::Manager.disable_all_tracing do request_without_oneapm_trace( request, *args, &block ) end end end
Also aliased as: request