lib/new_relic/agent/instrumentation/thread/instrumentation.rb in newrelic_rpm-8.11.0 vs lib/new_relic/agent/instrumentation/thread/instrumentation.rb in newrelic_rpm-8.12.0
- old
+ new
@@ -13,9 +13,10 @@
yield
end
def add_thread_tracing(*args, &block)
return block if skip_tracing?
+
NewRelic::Agent::Tracer.thread_block_with_current_transaction(*args, &block)
end
def skip_tracing?
!NewRelic::Agent.config[:'instrumentation.thread.tracing']