diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextCarrier.java b/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextCarrier.java index 7e3a1904a8c73c3914a5acae3d64cb757d14a99a..82dd3c5c3835c19415a42fdf622a0df40cdebd6f 100644 --- a/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextCarrier.java +++ b/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/ContextCarrier.java @@ -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;