Update TraceSegmentService.proto

Add RefType for ref
This commit is contained in:
吴晟 Wu Sheng 2017-07-06 17:19:30 +08:00 committed by GitHub
parent 816ba38ece
commit eaa2a7ca92
1 changed files with 13 additions and 7 deletions

View File

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