Skip to content

fix(tracing): Remove opentelemetry vendoring#4025

Merged
sfleen merged 7 commits intomainfrom
sfleen/opentelemetry-vendor
Sep 9, 2025
Merged

fix(tracing): Remove opentelemetry vendoring#4025
sfleen merged 7 commits intomainfrom
sfleen/opentelemetry-vendor

Conversation

@sfleen
Copy link
Copy Markdown
Contributor

@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 <scott@buoyant.io>
@olix0r
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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
Signed-off-by: Scott Fleener <scott@buoyant.io>
@sfleen
Copy link
Copy Markdown
Contributor Author

sfleen commented Aug 13, 2025

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

OpenTelemetry protos are no longer vendored, so we no longer need to generate them.

Signed-off-by: Scott Fleener <scott@buoyant.io>
@sfleen sfleen enabled auto-merge (squash) September 9, 2025 16:48
@sfleen sfleen merged commit 16434eb into main Sep 9, 2025
16 checks passed
@sfleen sfleen deleted the sfleen/opentelemetry-vendor branch September 9, 2025 20:59
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