Module: SwitchmanInstJobs::NewRelic::FixNewRelicDelayedJobs::NewRelicJobInvoker

Includes:
NewRelic::Agent::Instrumentation::ControllerInstrumentation
Defined in:
lib/switchman_inst_jobs/new_relic.rb

Instance Method Summary collapse

Instance Method Details

#invoke_job(*args, &block) ⇒ Object


7
8
9
10
11
12
13
14
15
16
# File 'lib/switchman_inst_jobs/new_relic.rb', line 7

def invoke_job(*args, &block)
  options = {
    category: NR_TRANSACTION_CATEGORY,
    path: tag
  }

  perform_action_with_newrelic_trace(options) do
    super(*args, &block)
  end
end