deps: bump grpc-gateway to v2.30.0 and move otelgrpc to the stats.Handler API - #1258
Merged
Merged
Conversation
zhaohuabing
marked this pull request as ready for review
September 30, 2026 04:41
wbpcode
approved these changes
Sep 30, 2026
zhaohuabing
force-pushed
the
otelgrpc-stats-handler
branch
2 times, most recently
from
September 30, 2026 04:58
a40ace9 to
fa4915e
Compare
…dler API grpc-gateway v2.30.0 carries the fix for CVE-2026-37236. It requires otelgrpc v0.70.0, which removed the deprecated interceptor constructors, so the server and the client CLI switch to otelgrpc.NewServerHandler and otelgrpc.NewClientHandler. With the otel interceptor gone the server's unary chain has a single element, so it is installed with grpc.UnaryInterceptor. The otel API, SDK, OTLP trace exporters and b3 propagator all move to the matching v1.45.0 release so the set stays aligned. otelgrpc v0.70.0 emits the stable RPC semantic conventions by default, which renames the gRPC span attributes. The README documents OTEL_SEMCONV_STABILITY_OPT_IN for keeping the previous attributes. Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
zhaohuabing
force-pushed
the
otelgrpc-stats-handler
branch
from
September 30, 2026 05:05
fa4915e to
3ed97f2
Compare
Member
Author
psbrar99
approved these changes
Sep 30, 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.
Bumps grpc-gateway from v2.29.0 to v2.30.0, which carries the fix for CVE-2026-37236. It is an indirect dependency via the OTLP exporter, but scanners flag the image on v2.29.0.
v2.30.0 requires otelgrpc v0.70.0, which removed the deprecated interceptor constructors, so the server and client CLI move to the stats.Handler API. That is what has kept the dependabot otelgrpc bumps failing since v0.68.0 (#1127, #1159, #1207, #1229), so this unblocks #1229. The otel API, SDK, OTLP exporters and b3 propagator all move to v1.45.0 so they stay on one release.
Behavior change: otelgrpc v0.70.0 emits the stable RPC span attributes by default.
rpc.grpc.status_codeis replaced by the stringrpc.response.status_codein every mode, andrpc.methodbecomes fully qualified.OTEL_SEMCONV_STABILITY_OPT_IN=rpc/oldkeeps the old service and short method attributes; the README tracing section documents the details. Tracing is off by default and metrics are unaffected.