Class: Upperkut::Middlewares::NewRelic

Inherits:
Object
  • Object
show all
Includes:
NewRelic::Agent::Instrumentation::ControllerInstrumentation
Defined in:
lib/upperkut/middlewares/new_relic.rb

Instance Method Summary collapse

Instance Method Details

#call(worker, _items) ⇒ Object



6
7
8
9
10
# File 'lib/upperkut/middlewares/new_relic.rb', line 6

def call(worker, _items)
  perform_action_with_newrelic_trace(trace_args(worker)) do
    yield
  end
end