8000 fix: add support for Sidekiq 8 by dmathieu · Pull Request #1444 · open-telemetry/opentelemetry-ruby-contrib · GitHub
[go: up one dir, main page]

Skip to content

Conversation

dmathieu
Copy link
Member

This adds support for Sidekiq 8 in the tests.

It also fixes an error where the event timestamp was provided in milliseconds, and therefore caused range errors when being converted into OTLP because the bignum was too large.

@dmathieu dmathieu changed the title Add support for Sidekiq 8 fix: add support for Sidekiq 8 Mar 12, 2025
Copy link
Contributor
@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Thanks, @dmathieu! This is looking good. I have a suggestion on how to skip the Sidekiq 8 suite for Ruby 3.1.

Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com>
Copy link
Contributor
@tt tt left a comment

Choose a reason for hiding this comment

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

Thank you, @dmathieu.

dmathieu and others added 6 commits March 14, 2025 11:14
…kiq/middlewares/server/tracer_middleware.rb

Co-authored-by: Troels Thomsen <19824+tt@users.noreply.github.com>
…kiq/middlewares/client/tracer_middleware.rb

Co-authored-by: Troels Thomsen <19824+tt@users.noreply.github.com>
Copy link
Contributor
@arielvalentin arielvalentin left a comment

Choose a reason for hiding this comment

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

Thanks for this fix.

I think longer term we need to make some SDK changes to mitigate this. The timestamp should probably be a Ruby Time object to mitigate these kinds of weird cases that would result in overflows.

@arielvalentin arielvalentin merged commit f1dd08f into open-telemetry:main Mar 26, 2025
59 checks passed
smoke added a commit to smoke/opentelemetry-ruby-contrib that referenced this pull request Oct 6, 2025
smoke added a commit to smoke/opentelemetry-ruby-contrib that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0