Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add internal tracing to Sidekiq / DelayedJob #2170

Merged
merged 6 commits into from
Jul 22, 2022

Conversation

jennchenn
Copy link
Member

@jennchenn jennchenn commented Jul 20, 2022

What does this PR do?

This PR adds additional instrumentation to Sidekiq and DelayedJob to wraps spans from Redis/ActiveRecord to prevent them from appearing as top-level spans.

image
image
image
image

Motivation

Fixes #2056

Additional Notes

How to test the change?

Additional unit tests were added to verify the changes.

@jennchenn jennchenn added bug Involves a bug integrations Involves tracing integrations labels Jul 20, 2022
@jennchenn jennchenn self-assigned this Jul 20, 2022
@jennchenn jennchenn requested a review from a team July 20, 2022 18:51
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jennchenn jennchenn merged commit 711eba6 into master Jul 22, 2022
@jennchenn jennchenn deleted the fix/internal-tracing-sidekiq-dj branch July 22, 2022 13:46
@github-actions github-actions bot added this to the 1.3.0 milestone Jul 22, 2022
@jennchenn jennchenn linked an issue Jul 22, 2022 that may be closed by this pull request
require 'sidekiq/cli'

configure_sidekiq
# binding.pry
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that rubocop didn't catch that 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing this out 😓 it has been removed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Involves a bug integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sidekiq instrumentation not complete in traces
3 participants