You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/09/11 02:38:03 UTC

[GitHub] [skywalking] Lovnx edited a comment on issue #5268: My log can't get traceId when I use Spring Cloud Gateway in my project ,all traceId in my log is "[traceId:TID:N/A]"

Lovnx edited a comment on issue #5268:
URL: https://github.com/apache/skywalking/issues/5268#issuecomment-690838065


   Modify spring-webflux agent like this:
   ![image](https://user-images.githubusercontent.com/26428832/92846241-722b7880-f41a-11ea-8d2e-4763e400c526.png)
   
   in your SCG project:
   String TraceId = serverWebExchange.getAttribute("global.trace.id");


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org