Sha256: 59f17f15f2907409039cd90dbfc27794f4dd02bc3387f7a7b7feddf5ab29b62a
Contents?: true
Size: 471 Bytes
Versions: 17
Compression:
Stored size: 471 Bytes
Contents
module Upperkut module Middlewares class NewRelic include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation def call(worker, _items) perform_action_with_newrelic_trace(trace_args(worker)) do yield end end private def trace_args(worker) { name: 'perform', class_name: worker.name, category: 'OtherTransaction/Upperkut' } end end end end
Version data entries
17 entries across 17 versions & 1 rubygems