lib/instana/instrumentation/net-http.rb in instana-1.193.5 vs lib/instana/instrumentation/net-http.rb in instana-1.193.6

- old
+ new

@@ -5,10 +5,10 @@ module Instana module Instrumentation module NetHTTPInstrumentation def request(*args, &block) - if !Instana.tracer.tracing? || !started? + if !Instana.tracer.tracing? || Instana.tracer.current_span.exit_span? || !started? do_skip = true return super(*args, &block) end ::Instana.tracer.log_entry(:'net-http')