-
-
Notifications
You must be signed in to change notification settings - Fork 501
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 child_spans for Sidekiq Queue instrumentation #2403
Add child_spans for Sidekiq Queue instrumentation #2403
Conversation
cd35fcf
to
787436b
Compare
ac46c1b
to
4e505f6
Compare
Oh wow, exactly what I was looking for 😅 🙌 can we somehow help to get this shipped? 💪 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! 🙇🏻 Would you be able to add some basic specs for this too?
@solnic I've added two basic specs. |
@solnic After looking at these, I think queue.process may actually replace |
Looks like it needs a changelog too |
04750fa
to
af385ba
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2403 +/- ##
=======================================
Coverage 98.15% 98.16%
=======================================
Files 126 126
Lines 4728 4741 +13
=======================================
+ Hits 4641 4654 +13
Misses 87 87
|
I've been testing this out and I don't see queue.sidekiq/queue.process. This is what I see instead: |
Thanks for adding the specs. I think it would be good to use timecop there actually. |
You're right! I changed that after my comment, before your review here: I'll have a look at the other comments as soon as possible. |
@solnic I have updated PR with feedback adjusted! Edit: I see specs are broken. I'll look into that as well! |
9aaf80b
to
671dd65
Compare
@solnic The specs failing seems related to sidekiq/sidekiq#6430 - Was able to reproduce locally, after clearing Lock file and bundle install again. Somewhat unrelated to this PR, although it's noisy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job thank you!
Please update to the latest master. I just checked locally and it passes. Once CI is green I'll merge it in. |
d3a7219
to
265307a
Compare
@solnic Done! |
🙌 Thanks everyone! This is such a great feature. |
Implements #2322 for Sidekiq.
Description
Adds support for Sentry Queues page (With predefined span
op
names)https://docs.sentry.io/platforms/ruby/guides/sidekiq/tracing/instrumentation/custom-instrumentation/queues-module/