-
|
I flipped through https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/application-toolkit-trace-cross-thread/ as well https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/application-toolkit-webflux/, the scenario doesn't seem to match very well and wonders if there is a way to do this, for example: I use WebClientfor SSE streaming calls and log at different points in the response stream. I tried using WebFluxSkyWalkingOperators.continueTracingas per the official docs: However, this results in an error during application startup or request processing: java.lang.IllegalStateException: No primary or single unique constructor found for interface org.springframework.web.server.ServerWebExchange. This error suggests that within the context of the stream processing, the continueTracingmethod internally cannot properly construct a ServerWebExchangeobject. Specific Questions: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I think we don't have a plugin to support that. Only gRPC streaming is supported so far. |
Beta Was this translation helpful? Give feedback.
I found that Trace Cross Thread can do what I want, and it seems that a Wrapper can only be called once, so manual processing only once in doFinally is fine