Skip to content

Conversation

@yusuke-ota
Copy link

@yusuke-ota yusuke-ota commented Dec 11, 2025

Why

Migrate ddtrace(datadog v1) gem to datadog v2 gem.

📝 ddtrace gem was renamed to datadog when ddtrace version bump to 2.0.0.

What

  • Replace the ddtrace gem with the datadog gem.
  • Check that the ddtrace constant variables used in the code have not been deleted in the datadog gem.
  • Bump up supported Ruby and Rake versions because they are too old to run the tests.

@yusuke-ota yusuke-ota self-assigned this Dec 11, 2025
@yusuke-ota yusuke-ota marked this pull request as ready for review December 11, 2025 08:24
@yusuke-ota yusuke-ota requested a review from gedorinku December 11, 2025 08:24
@yusuke-ota yusuke-ota closed this Dec 11, 2025
@yusuke-ota yusuke-ota reopened this Jan 8, 2026
Copy link
Member

@gedorinku gedorinku left a comment

Choose a reason for hiding this comment

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

datadog 2.x includes many breaking changes. It is necessary to address all of them.
https://github.com/DataDog/dd-trace-rb/blob/release/docs/UpgradeGuide2.md

For example, this code uses Datadog::Tracing::Span#span_id, but it has been renamed in datadog 2.x.

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.

3 participants