Bump OpenTelemetry stack to 1.42.1 / 0.63b1 to match auto-instrumenta… - #474
Merged
Conversation
…tion
The OTel operator injects a recent OTel core (api/sdk/common) at
/otel-auto-instrumentation-python but deliberately omits the gRPC
exporter ("gRPC is not appropriate for injected auto-instrumentation").
So the app's gRPC exporter resolves from its own site-packages while
common resolves from the operator's newer copy. Because OTel pins
otlp-proto-grpc == otlp-proto-common and they share private _internal
APIs, the old 1.26.0 grpc exporter failed against the injected common:
ImportError: cannot import name '_create_exp_backoff_generator' from
'opentelemetry.exporter.otlp.proto.common._internal'
Align the app's OTel packages with the operator's injected version
(core 1.42.1, instrumentation 0.63b1) so the app-supplied gRPC exporter
matches the operator-supplied common. Pulls protobuf 6.33.6 and
googleapis-common-protos 1.75.0; grpcio stays at 1.66.2.
Lock regenerated via the repo procedure; verify_locked and pip check
pass. Note: these pins must be bumped in lockstep whenever the
autoinstrumentation-python image is upgraded.
https://claude.ai/code/session_01MjikEyt2y77SdaTHJ1oLoo
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.
…tion
The OTel operator injects a recent OTel core (api/sdk/common) at /otel-auto-instrumentation-python but deliberately omits the gRPC exporter ("gRPC is not appropriate for injected auto-instrumentation"). So the app's gRPC exporter resolves from its own site-packages while common resolves from the operator's newer copy. Because OTel pins otlp-proto-grpc == otlp-proto-common and they share private _internal APIs, the old 1.26.0 grpc exporter failed against the injected common:
ImportError: cannot import name '_create_exp_backoff_generator' from
'opentelemetry.exporter.otlp.proto.common._internal'
Align the app's OTel packages with the operator's injected version (core 1.42.1, instrumentation 0.63b1) so the app-supplied gRPC exporter matches the operator-supplied common. Pulls protobuf 6.33.6 and googleapis-common-protos 1.75.0; grpcio stays at 1.66.2.
Lock regenerated via the repo procedure; verify_locked and pip check pass. Note: these pins must be bumped in lockstep whenever the autoinstrumentation-python image is upgraded.