wu-sheng commented on a change in pull request #6715:
URL: https://github.com/apache/skywalking/pull/6715#discussion_r611037458



##########
File path: 
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/trace/TraceSegment.java
##########
@@ -172,7 +154,7 @@ public SegmentObject transform() {
 
     @Override
     public String toString() {
-        return "TraceSegment{" + "traceSegmentId='" + traceSegmentId + '\'' + 
", refs=" + refs + ", spans=" + spans + ", relatedGlobalTraces=" + 
relatedGlobalTraces + '}';
+        return "TraceSegment{" + "traceSegmentId='" + traceSegmentId + '\'' + 
", traceSegmentRef=" + traceSegmentRef + ", spans=" + spans + ", 
relatedGlobalTraceId=" + relatedGlobalTraceId + '}';

Review comment:
       Remove `relatedGlobalTraceId` from `toString`, as it only keeps one.




-- 
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