Module: NewRelic::Agent::Instrumentation::MonitoredThread::Prepend

Includes:
NewRelic::Agent::Instrumentation::MonitoredThread
Defined in:
lib/new_relic/agent/instrumentation/thread/prepend.rb

Instance Attribute Summary

Attributes included from NewRelic::Agent::Instrumentation::MonitoredThread

#nr_parent_key

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::MonitoredThread

#add_thread_tracing, #initialize_with_newrelic_tracing

Instance Method Details

#initialize(*args, &block) ⇒ Object



14
15
16
17
# File 'lib/new_relic/agent/instrumentation/thread/prepend.rb', line 14

def initialize(*args, &block)
  traced_block = add_thread_tracing(&block)
  initialize_with_newrelic_tracing { super(*args, &traced_block) }
end