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

Remove global traceId in Segment.

上级 1f3f25d6
......@@ -19,10 +19,9 @@ message UpstreamSegment {
message TraceSegmentObject {
string traceSegmentId = 1;
repeated TraceSegmentReference refs = 2;
repeated string globalTraceIds = 3;
repeated SpanObject spans = 4;
int32 applicationId = 5;
int32 applicationInstanceId = 6;
repeated SpanObject spans = 3;
int32 applicationId = 4;
int32 applicationInstanceId = 5;
}
message TraceSegmentReference {
......
......@@ -203,10 +203,6 @@ public class TraceSegment {
traceSegmentBuilder.addRefs(ref.transform());
}
}
// globalTraceIds
for (DistributedTraceId distributedTraceId : getRelatedGlobalTraces()) {
traceSegmentBuilder.addGlobalTraceIds(distributedTraceId.get());
}
// SpanObject
for (AbstractTracingSpan span : this.spans) {
traceSegmentBuilder.addSpans(span.transform());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册