diff --git a/apm-network/src/main/proto/TraceSegmentService.proto b/apm-network/src/main/proto/TraceSegmentService.proto index 65ed18504..842d5e67b 100644 --- a/apm-network/src/main/proto/TraceSegmentService.proto +++ b/apm-network/src/main/proto/TraceSegmentService.proto @@ -25,13 +25,14 @@ message TraceSegmentObject { } message TraceSegmentReference { - string parentTraceSegmentId = 1; - int32 parentSpanId = 2; - int32 parentApplicationId = 3; - string networkAddress = 4; - int32 networkAddressId = 5; - string entryServiceName = 6; - int32 entryServiceId = 7; + RefType refType = 1; + string parentTraceSegmentId = 2; + int32 parentSpanId = 3; + int32 parentApplicationId = 4; + string networkAddress = 5; + int32 networkAddressId = 6; + string entryServiceName = 7; + int32 entryServiceId = 8; } message SpanObject { @@ -52,6 +53,11 @@ message SpanObject { repeated LogMessage logs = 15; } +enum RefType { + CrossProcess = 0; + CrossThread = 1; +} + enum SpanType { Entry = 0; Exit = 1;