module NewRelic::Agent::Instrumentation::DelayedJobTracer
Constants
- INSTRUMENTATION_NAME
- NR_TRANSACTION_CATEGORY
Public Instance Methods
Source
# File lib/new_relic/agent/instrumentation/delayed_job/instrumentation.rb, line 36 def invoke_job_with_tracing NewRelic::Agent.record_instrumentation_invocation(INSTRUMENTATION_NAME) options = { :category => NR_TRANSACTION_CATEGORY, :path => ::NewRelic::Agent::Instrumentation::DelayedJob::Naming.name_from_payload(payload_object) } perform_action_with_newrelic_trace(options) do yield end end