From db57d8de29542f609e8fd3e4ef6a3f23536e622d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=9F=20Wu=20Sheng?= Date: Wed, 13 Sep 2017 16:00:35 +0800 Subject: [PATCH] Update ContextCarrier.java --- .../agent/core/context/ContextCarrier.java | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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 7e3a1904a8..82dd3c5c38 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; -- GitLab