lib/new_relic/agent/instrumentation/thread.rb in newrelic_rpm-8.13.1 vs lib/new_relic/agent/instrumentation/thread.rb in newrelic_rpm-8.14.0
- old
+ new
@@ -7,14 +7,14 @@
DependencyDetection.defer do
named :thread
executes do
- ::NewRelic::Agent.logger.info('Installing Thread Instrumentation')
+ NewRelic::Agent.logger.info('Installing Thread Instrumentation')
if use_prepend?
- prepend_instrument ::Thread, ::NewRelic::Agent::Instrumentation::MonitoredThread::Prepend
+ prepend_instrument Thread, NewRelic::Agent::Instrumentation::MonitoredThread::Prepend
else
- chain_instrument ::NewRelic::Agent::Instrumentation::MonitoredThread::Chain
+ chain_instrument NewRelic::Agent::Instrumentation::MonitoredThread::Chain
end
end
end