Sha256: ad463c994f5d4943a3c194b89190e6a54bc5c0eae9dcf184008fcc8e33537dc5
Contents?: true
Size: 596 Bytes
Versions: 3
Compression:
Stored size: 596 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. require_relative 'thread/chain' require_relative 'thread/prepend' DependencyDetection.defer do named :thread executes do ::NewRelic::Agent.logger.info 'Installing Thread Instrumentation' if use_prepend? prepend_instrument ::Thread, ::NewRelic::Agent::Instrumentation::MonitoredThread::Prepend else chain_instrument ::NewRelic::Agent::Instrumentation::MonitoredThread::Chain end end end
Version data entries
3 entries across 3 versions & 1 rubygems