xien0 commented on issue #2266:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2266#issuecomment-789342080


   (Invocation) 
ContextUtils.getInvocationContext()可直接获取到traceId,这种方式对业务开发可能不大友好,但是确实可以解决这个问题;关于traceId的信息官方文档介绍很少,看了TraceIdGenerator接口的实现,在nexTraceIdHigh(int
 random)方法里使用当前系统的epochSecond做为高32位,random做低32位,但是不知道如何计算它的重复概率,如有解答,不胜感激。


----------------------------------------------------------------
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:
[email protected]


Reply via email to