Skip to content

feat(deps): update OpenTelemetry version to 2.15.0 #13237

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

Conversation

rafaelsmf
Copy link
Contributor

@rafaelsmf rafaelsmf commented Apr 16, 2025

Description:

This PR addresses an issue with the OpenTelemetry version 2.11 used in the project.

After integrating DataHub with the Datadog agent, I noticed that the Datadog agent was no longer able to link to the application's components. This issue started occurring following the OpenTelemetry upgrade to version 2.11 introduced in DataHub version 1.0.0.

See the screencast below for reference:
Screencast from 2025-04-16 15-00-55.webm

How It Was Fixed:

This issue was resolved in OpenTelemetry version 2.12 and above.

In this PR, I've upgraded the OpenTelemetry dependency to version 2.15.0, which resolves the compatibility issue with the Datadog agent.

Testing:

The fix has been tested across multiple environments to ensure robustness:

  • Local Testing:

Verified that the OpenTelemetry upgrade to 2.15.0 works as expected in a local development environment.

  • Docker Testing:

Deployed the updated setup in a Docker container to validate configuration and functionality.

  • Kubernetes Testing:

Confirmed that the application and telemetry exporters function correctly within a Kubernetes environment.

  • Datadog Agent:

Validated that metrics and traces are successfully sent to Datadog using the upgraded OpenTelemetry version (datadog agent version 7.50.3+).

Screencast.from.2025-04-16.14-46-07.webm

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added devops PR or Issue related to DataHub backend & deployment community-contribution PR or Issue raised by member(s) of DataHub Community labels Apr 16, 2025
@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label Apr 16, 2025
Copy link

codecov bot commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@david-leifker david-leifker left a comment

Choose a reason for hiding this comment

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

lgtm! Thanks!

@david-leifker david-leifker merged commit d72361d into datahub-project:master Apr 18, 2025
55 of 57 checks passed
@rafaelsmf rafaelsmf deleted the feat/upgrade-opentelemetry-version-to-v2.15.0 branch April 18, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution PR or Issue raised by member(s) of DataHub Community devops PR or Issue related to DataHub backend & deployment needs-review Label for PRs that need review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants