Skip to content

fix(tracing): Remove opentelemetry vendoring #4025

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sfleen
Copy link
Collaborator

@sfleen sfleen commented Jul 28, 2025

We used to vendor the opentelemetry protobufs because we relied on a version of tonic that opentelemetry-sdk didn't support. Now that we've upgraded tonic, we can remove the vendoring and use the official APIs.

Note that we had to downgrade opentelemetry from 0.30 to 0.29, once we update to tonic 0.13 we can upgrade back.

We used to vendor the opentelemetry protobufs because we relied on a version of tonic that `opentelemetry-sdk` didn't support. Now that we've upgraded tonic, we can remove the vendoring and use the official APIs.

Signed-off-by: Scott Fleener <[email protected]>
@olix0r
Copy link
Member

olix0r commented Jul 29, 2025

@sfleen does this put us in a position where we are unable to take updates? would it be better to drive the tonic update first?

@sfleen
Copy link
Collaborator Author

sfleen commented Jul 29, 2025

It would probably prevent us if we don't update tonic and friends first. opentelemetry doesn't really do bugfix backports from what i've seen which doesn't make the situation much better. I'm fine with holding off until we can update tonic.

sfleen added 2 commits August 13, 2025 14:03
# Conflicts:
#	Cargo.lock
#	opentelemetry-proto/src/gen/opentelemetry.proto.collector.trace.v1.rs
@sfleen
Copy link
Collaborator Author

sfleen commented Aug 13, 2025

With #4066 merged, opentelemetry deps are now on the most recent version.

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.

2 participants