Skip to content

Bump OpenTelemetry stack to 1.42.1 / 0.63b1 to match auto-instrumenta… - #474

Merged
maximusunc merged 1 commit into
masterfrom
claude/serene-albattani-0YtHg
Jun 9, 2026
Merged

Bump OpenTelemetry stack to 1.42.1 / 0.63b1 to match auto-instrumenta…#474
maximusunc merged 1 commit into
masterfrom
claude/serene-albattani-0YtHg

Conversation

@maximusunc

Copy link
Copy Markdown
Collaborator

…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.

…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
@maximusunc
maximusunc merged commit 7806890 into master Jun 9, 2026
4 checks passed
@maximusunc
maximusunc deleted the claude/serene-albattani-0YtHg branch June 9, 2026 17:00
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