提交 db57d8de 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Update ContextCarrier.java

上级 3f188b14
......@@ -21,20 +21,41 @@ public class ContextCarrier implements Serializable {
*/
private ID traceSegmentId;
/**
* id of parent span.
* It is unique in parent trace segment.
*/
private int spanId = -1;
/**
* id of parent application instance, it's the id assigned by collector.
*/
private int parentApplicationInstanceId = DictionaryUtil.nullValue();
/**
* id of first application instance in this distributed trace, it's the id assigned by collector.
*/
private int entryApplicationInstanceId = DictionaryUtil.nullValue();
/**
* peer(ipv4/ipv6/hostname + port) of the server, from client side.
*/
private String peerHost;
/**
* Operation/Service name of the first one in this distributed trace.
* This name may be compressed to an integer.
*/
private String entryOperationName;
/**
* Operation/Service name of the parent one in this distributed trace.
* This name may be compressed to an integer.
*/
private String parentOperationName;
/**
* {@link DistributedTraceId}
* {@link DistributedTraceId}, also known as TraceId
*/
private DistributedTraceId primaryDistributedTraceId;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册