Module: NewRelic::Agent::Instrumentation::MonitoredFiber::Prepend

Includes:
NewRelic::Agent::Instrumentation::MonitoredFiber
Defined in:
lib/new_relic/agent/instrumentation/fiber/prepend.rb

Instance Attribute Summary

Attributes included from NewRelic::Agent::Instrumentation::MonitoredFiber

#nr_parent_key

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::MonitoredFiber

#add_thread_tracing, #initialize_with_newrelic_tracing

Instance Method Details

#initialize(**kawrgs, &block) ⇒ Object



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

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