Module: NewRelic::Agent::Instrumentation::DelayedJob::Prepend

Includes:
NewRelic::Agent::Instrumentation::DelayedJob
Defined in:
lib/new_relic/agent/instrumentation/delayed_job/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::DelayedJob

#initialize_with_tracing

Instance Method Details

#initialize(*args) ⇒ Object



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

def initialize(*args)
  initialize_with_tracing { super }
end

#install_newrelic_job_tracerObject



18
19
20
# File 'lib/new_relic/agent/instrumentation/delayed_job/prepend.rb', line 18

def install_newrelic_job_tracer
  Delayed::Job.send(:prepend, ::NewRelic::Agent::Instrumentation::DelayedJobTracerPrepend)
end