Replace OpenCensus with OpenTelemetry#2828
Merged
Merged
Conversation
Forward-port of the OTEL migration from the internal ADO fork onto upstream main. Adds the internal/ot tracing package and switches instrumentation from OpenCensus (internal/oc, go.opencensus.io) to OpenTelemetry (go.opentelemetry.io/otel, containerd/otelttrpc, otelgrpc). internal/oc and pkg/octtrpc are retained for backward compatibility during the transition. Signed-off-by: Olivia Vuong <vuongolivia@gmail.com>
pink-milk
force-pushed
the
otel-migration
branch
from
July 18, 2026 00:55
958a292 to
6fc8617
Compare
Contributor
Author
|
@microsoft-github-policy-service agree company="Microsoft" |
rawahars
reviewed
Jul 18, 2026
rawahars
reviewed
Jul 18, 2026
rawahars
reviewed
Jul 18, 2026
jterry75
approved these changes
Jul 21, 2026
Signed-off-by: Olivia Vuong <vuongolivia@gmail.com>
Remove unused github.com/golang/groupcache and go.opencensus.io from test module after the OpenCensus->OpenTelemetry migration. Signed-off-by: Olivia Vuong <vuongolivia@gmail.com>
pink-milk
force-pushed
the
otel-migration
branch
from
July 21, 2026 18:47
0393fe2 to
e436fde
Compare
rawahars
approved these changes
Jul 21, 2026
rawahars
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the change! LGTM!
Signed-off-by: Olivia Vuong <vuongolivia@gmail.com>
Widen cleanupTestBundle's RemoveAll retry to ~5s so it tolerates the shim's normal ~15-35ms teardown (now including OTel tracer shutdown) instead of racing the serve child's release of panic.log. Signed-off-by: Olivia Vuong <vuongolivia@gmail.com>
rawahars
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
internal/ottracing package and switches instrumentation from OpenCensus (internal/oc,go.opencensus.io) to OpenTelemetry (go.opentelemetry.io/otel,github.com/containerd/otelttrpc,otelgrpc).internal/ocandpkg/octtrpcare retained for backward compatibility during the transition.