Remove global traceId in Segment.
This commit is contained in:
parent
1f3f25d691
commit
b68c7b4368
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue