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_jobObject



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

def invoke_job(...)
  options = {
    category: NR_TRANSACTION_CATEGORY,
    path: tag
  }

  perform_action_with_newrelic_trace(options) do
    super(...)
  end
end