Class: ShoryukenNewrelic::Instrumentation
- Inherits:
-
Object
- Object
- ShoryukenNewrelic::Instrumentation
- Includes:
- NewRelic::Agent::Instrumentation::ControllerInstrumentation
- Defined in:
- lib/shoryuken_newrelic/instrumentation.rb
Overview
This class send transactions trace to newrelic
Instance Method Summary collapse
Instance Method Details
#call(worker_instance, _queue, _sqs_msg, _body, &block) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/shoryuken_newrelic/instrumentation.rb', line 11 def call(worker_instance, _queue, _sqs_msg, _body, &block) perform_action_with_newrelic_trace({ name: "perform", class_name: worker_instance.class.to_s, category: "OtherTransaction/ShoryukenJob" }, &block) end |