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 2019/11/19 08:21:20 UTC

[GitHub] [skywalking] dodomao opened a new issue #3891: spring cloud gateway TraceContext.traceId() Is not equal to micro service tid

dodomao opened a new issue #3891: spring cloud gateway TraceContext.traceId() Is not equal to micro service tid
URL: https://github.com/apache/skywalking/issues/3891
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [Agent ] Bug
   
   
   ___
   ### Question
   - What do you want to know?
   Spring Cloud Gateway TraceContext.traceId() Is not equal to micro service logback tid
   I think that is the cause of the TraceCrossThread
   Before 6.5.0, the traceid Repeated Generation in spring cloud gateway。Now,the bug is solve,but the traceid is not a GlobalTraceId
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   SkyWalking 6.5  jdk1.8
   
   - What happen?
   spring cloud gateway GlobalFilter:
   LOGGER.info(TraceContext.traceId());
   [ctor-http-nio-3] c.d.cbhis.his_gateway.filter.GrayFilter  : 3729.128.15741514902390093
   Micro service logback:
   [TID:3729.128.15741514391310083] 
   ___
   ### Requirement or improvement
   - How to get the GlobalTraceId in spring cloud gateway GlobalFilter or GatewayFilter.

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


With regards,
Apache Git Services