Describe the feature
En:In link tracking, traceid is used to represent the global link id, and spanid is used to represent the id of the local area. There are producers and consumers in dubbo across system calls, and the consumer may be the initial link without traceid spanid and other data that needs to be reset. Generated, consumers need to pass their own traceid to the downstream when they call the provider, and Spanid can be regenerated inside their own application. Of course, in order to track the context relationship, there will also be some self-defined ids such as parent id and custom parameters. Transit should also be taken into account.
中文:在链路追踪中使用traceid来代表全局的链路id,使用spanid代表局部区域的id,dubbo中跨系统调用存在生产者和消费者,消费者可能是起始链路没有traceid spanid等数据需要重新生成,消费者调用提供者的时候需要将自身的traceid传递到下游, 而Spanid可以再自己的应用内部重新生成,当然为了追踪上下文关系也会存在一些自定的id比如父id,自定义参数的传递也应该考虑在内。