Last Updated: February 25, 2016
·
1.395K
· todddickerson

Sidekiq Background Workers in NewRelic

NewRelic finally supports fully threaded workers!

upgrade gem to ~> 3.5.7.59

class ExampleWorker
  include Sidekiq::Worker
  include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation
  def perform ; end
  add_transaction_tracer :perform, :category => :task
end