GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Propagate inbound W3C baggage through gRPC server handlers by sy-lee · Pull Request #12721 · DataDog/dd-trace-java ConversationWhat Does This DoMakes the full extracted context, including W3C
MotivationSolves #12654. Today both server instrumentations extract inbound
HTTP server instrumentations have used full-context extraction since #8820 ( The Additional NotesTests: each module's Local results (JDK 21, macOS arm64): With the server change reverted, the new test fails in both modules at the handler assertion ( Behaviour note: Other callers of the deprecated helper listed in the issue (sofarpc, messaging consumers, API shims) are out of scope here. Suggested labels for maintainers (as a fork contributor I can't set labels): Contributor Checklist
Jira ticket: [PROJ-IDENT] 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
… handler TracingServerInterceptor in grpc-1.5 and armeria-grpc-0.84 used the deprecated AgentPropagation.extractContextAndGetSpanContext, which drops every extracted element except the span context, and then ran startCall, close and the listener callbacks under a span-only activateSpan(span). Inbound W3C baggage was tagged on the server span but was not current in the service implementation, so Baggage was missing from Context.current() and outbound calls did not re-inject it. Extract the full context with the default propagator and attach parentContext.with(span), mirroring HttpServerDecorator. Co-Authored-By: Claude Opus 5.5 <[email protected]> StartContextPropagationAdvice injected only the active span, so W3C baggage in the current context never reached outbound grpc-java calls. Inject currentContext() instead, as the armeria-grpc client already does, keeping the existing guard that skips injection without an active span. Co-Authored-By: Claude Opus 5.5 <[email protected]> This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
inst: grpc
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |