wy471x opened a new issue, #7616:
URL: https://github.com/apache/shenyu/issues/7616

   Part of #7566. Depends on the plugin skeleton task in this series.
   
   ## Scope
   - Inject the active trace context into requests which are sent from ShenYu 
to upstream services, covering the HTTP proxy path first (`WebClientPlugin`, 
`NettyHttpClientPlugin`).
   - Remove the original client `traceparent` before injecting, otherwise the 
copied request headers make the upstream receive a duplicate header.
   - Define the `TracingPropagator` SPI as the extension point for Spring 
Cloud, gRPC and Dubbo, with the HTTP implementation only in this change.
   - Preserve an incoming client trace and its parent relationship instead of 
starting an unrelated upstream trace.
   
   ## Tests
   - The upstream mock receives exactly one `traceparent`, whose parent span id 
is the gateway span.
   - Trace id continuity for requests with and without an inbound context.
   - SPI extension loading.
   - A not sampled inbound trace is still propagated with the sampling bit 
cleared.
   
   ## Acceptance criteria
   AC3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to