Skip to content

Commit

Permalink
Load the Sidekiq client tracer on Sidekiq server
Browse files Browse the repository at this point in the history
Instrument the Sidekiq client when running a Sidekiq server, Sidekiq jobs can schedule other jobs.
  • Loading branch information
MXfive committed Jun 19, 2020
1 parent d0c26ec commit 66a32aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ddtrace/contrib/sidekiq/patcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def patch
config.server_middleware do |chain|
chain.add(Sidekiq::ServerTracer)
end
config.client_middleware do |chain|
chain.add(Sidekiq::ClientTracer)
end
end
end
end
Expand Down

0 comments on commit 66a32aa

Please sign in to comment.