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
Written by Todd Dickerson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#