diff --git a/cmd/query/app/internal/api_v3/query_service.pb.go b/cmd/query/app/internal/api_v3/query_service.pb.go index 2f071becc4c..6d687b9b221 100644 --- a/cmd/query/app/internal/api_v3/query_service.pb.go +++ b/cmd/query/app/internal/api_v3/query_service.pb.go @@ -39,10 +39,14 @@ type GetTraceRequest struct { // Optional. The start time to search trace ID. StartTime time.Time `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` // Optional. The end time to search trace ID. - EndTime time.Time `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EndTime time.Time `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` + // Optional. If set to true, the response will not include any + // enrichments to the trace, such as clock skew adjustment. + // Instead, the trace will be returned exactly as stored. + RawTraces bool `protobuf:"varint,4,opt,name=raw_traces,json=rawTraces,proto3" json:"raw_traces,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetTraceRequest) Reset() { *m = GetTraceRequest{} } @@ -99,6 +103,13 @@ func (m *GetTraceRequest) GetEndTime() time.Time { return time.Time{} } +func (m *GetTraceRequest) GetRawTraces() bool { + if m != nil { + return m.RawTraces + } + return false +} + // Query parameters to find traces. Except for num_traces, all fields should be treated // as forming a conjunction, e.g., "service_name='X' AND operation_name='Y' AND ...". // All fields are matched against individual spans, not at the trace level. @@ -129,7 +140,11 @@ type TraceQueryParameters struct { // implementtaion this could be like a regular LIMIT clause in SQL, // but not all implementations support such accuracy and for those // the larger depth value simply means more traces returned. - SearchDepth int32 `protobuf:"varint,8,opt,name=search_depth,json=searchDepth,proto3" json:"search_depth,omitempty"` + SearchDepth int32 `protobuf:"varint,8,opt,name=search_depth,json=searchDepth,proto3" json:"search_depth,omitempty"` + // Optional. If set to true, the response will not include any + // enrichments to the trace, such as clock skew adjustment. + // Instead, the trace will be returned exactly as stored. + RawTraces bool `protobuf:"varint,9,opt,name=raw_traces,json=rawTraces,proto3" json:"raw_traces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -224,6 +239,13 @@ func (m *TraceQueryParameters) GetSearchDepth() int32 { return 0 } +func (m *TraceQueryParameters) GetRawTraces() bool { + if m != nil { + return m.RawTraces + } + return false +} + // Request object to search traces. type FindTracesRequest struct { Query *TraceQueryParameters `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` @@ -720,61 +742,62 @@ func init() { func init() { proto.RegisterFile("query_service.proto", fileDescriptor_5fcb6756dc1afb8d) } var fileDescriptor_5fcb6756dc1afb8d = []byte{ - // 851 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x6e, 0x1b, 0x55, - 0x10, 0xce, 0xda, 0x71, 0x62, 0x8f, 0x93, 0xb6, 0x9c, 0x1a, 0x75, 0xbb, 0x48, 0x8e, 0xbb, 0x05, + // 871 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xce, 0xda, 0x71, 0xe2, 0x3d, 0x4e, 0xda, 0x32, 0x35, 0xea, 0x76, 0x11, 0x8e, 0xbb, 0x05, 0xc9, 0x37, 0x6c, 0x88, 0x73, 0x41, 0x41, 0x20, 0xa0, 0x49, 0x6b, 0x01, 0x4a, 0x69, 0x37, 0x55, - 0x41, 0xa8, 0xd2, 0xea, 0x24, 0x3b, 0x6c, 0x96, 0x7a, 0x7f, 0x7a, 0xce, 0x59, 0x63, 0x3f, 0x03, - 0x37, 0x5c, 0xf2, 0x1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0x82, 0x35, + 0x86, 0xbc, 0x98, 0x08, 0xd3, 0xf3, 0xc0, 0x5f, 0xf8, 0x8e, 0xe8, 0x55, 0xf2, 0xf5, 0xe7, 0x63, + 0xba, 0xa3, 0xb5, 0xc7, 0xf7, 0xa9, 0xa0, 0x81, 0x89, 0x1b, 0xfe, 0xdb, 0x80, 0x0d, 0xa5, 0x46, + 0xa3, 0x2f, 0xf2, 0x23, 0xb4, 0xcb, 0xef, 0x00, 0xe9, 0xd5, 0x47, 0xb8, 0xf8, 0x81, 0x70, 0x2f, + 0x9d, 0xce, 0x5b, 0xf9, 0xd8, 0x22, 0x4f, 0x01, 0x5e, 0x6d, 0x0b, 0xe9, 0xd7, 0xb8, 0x97, 0x16, + 0xe9, 0x0d, 0xd9, 0x9f, 0x40, 0x67, 0x6e, 0x4b, 0xc8, 0xad, 0xe5, 0xd2, 0x6b, 0x7b, 0xe5, 0x7a, + 0x17, 0x41, 0xb4, 0x44, 0xbd, 0x15, 0xf2, 0x14, 0x36, 0x17, 0xd4, 0x4b, 0x6e, 0x2f, 0x87, 0x2d, + 0x2d, 0x9a, 0xfb, 0xc1, 0xc5, 0xa0, 0x92, 0xfd, 0xee, 0x47, 0x2f, 0xce, 0x7b, 0xd6, 0x1f, 0xe7, + 0x3d, 0xeb, 0xef, 0xf3, 0x9e, 0x05, 0x37, 0xe2, 0xcc, 0xc4, 0xc9, 0x2e, 0xe3, 0x74, 0x6c, 0xc2, + 0x7f, 0x5a, 0xd3, 0xbf, 0x47, 0x6b, 0x6a, 0x06, 0xbb, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x7d, + 0x9f, 0xff, 0x8a, 0x53, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1062,6 +1085,16 @@ func (m *GetTraceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.RawTraces { + i-- + if m.RawTraces { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.EndTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.EndTime):]) if err1 != nil { return 0, err1 @@ -1112,6 +1145,16 @@ func (m *TraceQueryParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.RawTraces { + i-- + if m.RawTraces { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } if m.SearchDepth != 0 { i = encodeVarintQueryService(dAtA, i, uint64(m.SearchDepth)) i-- @@ -1564,6 +1607,9 @@ func (m *GetTraceRequest) Size() (n int) { n += 1 + l + sovQueryService(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdTime(m.EndTime) n += 1 + l + sovQueryService(uint64(l)) + if m.RawTraces { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -1603,6 +1649,9 @@ func (m *TraceQueryParameters) Size() (n int) { if m.SearchDepth != 0 { n += 1 + sovQueryService(uint64(m.SearchDepth)) } + if m.RawTraces { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -1904,6 +1953,26 @@ func (m *GetTraceRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RawTraces", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQueryService + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RawTraces = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQueryService(dAtA[iNdEx:]) @@ -2297,6 +2366,26 @@ func (m *TraceQueryParameters) Unmarshal(dAtA []byte) error { break } } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RawTraces", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQueryService + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RawTraces = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQueryService(dAtA[iNdEx:]) diff --git a/idl b/idl index de97430b579..63f6e7e5b13 160000 --- a/idl +++ b/idl @@ -1 +1 @@ -Subproject commit de97430b579cac669422048a0becc5db981b05ad +Subproject commit 63f6e7e5b134ec6fb78830f48bd4bd2f1e8fd295 diff --git a/proto-gen/api_v2/query.pb.go b/proto-gen/api_v2/query.pb.go index f9bbee7313f..311b5c0cd46 100644 --- a/proto-gen/api_v2/query.pb.go +++ b/proto-gen/api_v2/query.pb.go @@ -39,10 +39,14 @@ type GetTraceRequest struct { // Optional. The start time to search trace ID. StartTime time.Time `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` // Optional. The end time to search trace ID. - EndTime time.Time `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EndTime time.Time `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` + // Optional. If set to true, the response will not include any + // enrichments to the trace, such as clock skew adjustment. + // Instead, the trace will be returned exactly as stored. + RawTraces bool `protobuf:"varint,4,opt,name=raw_traces,json=rawTraces,proto3" json:"raw_traces,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetTraceRequest) Reset() { *m = GetTraceRequest{} } @@ -92,6 +96,13 @@ func (m *GetTraceRequest) GetEndTime() time.Time { return time.Time{} } +func (m *GetTraceRequest) GetRawTraces() bool { + if m != nil { + return m.RawTraces + } + return false +} + type SpansResponseChunk struct { Spans []model.Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -249,17 +260,21 @@ var xxx_messageInfo_ArchiveTraceResponse proto.InternalMessageInfo // Note: some storage implementations do not guarantee the correct implementation of all parameters. // type TraceQueryParameters struct { - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` - Tags map[string]string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - StartTimeMin time.Time `protobuf:"bytes,4,opt,name=start_time_min,json=startTimeMin,proto3,stdtime" json:"start_time_min"` - StartTimeMax time.Time `protobuf:"bytes,5,opt,name=start_time_max,json=startTimeMax,proto3,stdtime" json:"start_time_max"` - DurationMin time.Duration `protobuf:"bytes,6,opt,name=duration_min,json=durationMin,proto3,stdduration" json:"duration_min"` - DurationMax time.Duration `protobuf:"bytes,7,opt,name=duration_max,json=durationMax,proto3,stdduration" json:"duration_max"` - SearchDepth int32 `protobuf:"varint,8,opt,name=search_depth,json=searchDepth,proto3" json:"search_depth,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` + Tags map[string]string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + StartTimeMin time.Time `protobuf:"bytes,4,opt,name=start_time_min,json=startTimeMin,proto3,stdtime" json:"start_time_min"` + StartTimeMax time.Time `protobuf:"bytes,5,opt,name=start_time_max,json=startTimeMax,proto3,stdtime" json:"start_time_max"` + DurationMin time.Duration `protobuf:"bytes,6,opt,name=duration_min,json=durationMin,proto3,stdduration" json:"duration_min"` + DurationMax time.Duration `protobuf:"bytes,7,opt,name=duration_max,json=durationMax,proto3,stdduration" json:"duration_max"` + SearchDepth int32 `protobuf:"varint,8,opt,name=search_depth,json=searchDepth,proto3" json:"search_depth,omitempty"` + // Optional. If set to true, the response will not include any + // enrichments to the trace, such as clock skew adjustment. + // Instead, the trace will be returned exactly as stored. + RawTraces bool `protobuf:"varint,9,opt,name=raw_traces,json=rawTraces,proto3" json:"raw_traces,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *TraceQueryParameters) Reset() { *m = TraceQueryParameters{} } @@ -351,6 +366,13 @@ func (m *TraceQueryParameters) GetSearchDepth() int32 { return 0 } +func (m *TraceQueryParameters) GetRawTraces() bool { + if m != nil { + return m.RawTraces + } + return false +} + type FindTracesRequest struct { Query *TraceQueryParameters `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -771,68 +793,70 @@ func init() { func init() { proto.RegisterFile("query.proto", fileDescriptor_5c6ac9b241082464) } var fileDescriptor_5c6ac9b241082464 = []byte{ - // 971 bytes of a gzipped FileDescriptorProto + // 995 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0x67, 0x9d, 0x38, 0xb6, 0xdf, 0xda, 0x2d, 0x7d, 0x76, 0xda, 0x65, 0x0b, 0xb6, 0xb3, 0xa1, - 0x55, 0x84, 0x94, 0xdd, 0x62, 0x0e, 0x94, 0x0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xf6, 0x98, 0x8c, 0x28, 0xde, 0x80, 0x4b, 0xf1, 0x98, 0xaa, 0xf9, 0x54, 0x4a, 0x05, - 0xa9, 0x54, 0x9b, 0x49, 0xa5, 0xda, 0x5d, 0x58, 0xe5, 0x24, 0x4c, 0xad, 0x15, 0xd9, 0xa5, 0xed, - 0x5c, 0x97, 0xce, 0x72, 0xee, 0xee, 0x91, 0x30, 0xbd, 0xcf, 0x78, 0x32, 0xf5, 0xa5, 0x29, 0x7e, - 0x00, 0x97, 0x4e, 0x6b, 0xd8, 0x1b, 0x45, 0xcc, 0x5a, 0x7d, 0x81, 0x22, 0x54, 0x67, 0x75, 0x7c, - 0x14, 0xb1, 0x3c, 0x16, 0x39, 0xb2, 0x8a, 0x17, 0xc3, 0x22, 0x47, 0xf8, 0x00, 0xaa, 0x19, 0x41, - 0x65, 0x54, 0x6b, 0x12, 0xe9, 0x95, 0x25, 0xa4, 0x5d, 0xad, 0xa4, 0x80, 0x7e, 0x10, 0x40, 0x66, - 0x66, 0x28, 0x62, 0x5a, 0xc0, 0x21, 0x47, 0x56, 0xe9, 0x22, 0x38, 0xe4, 0x48, 0x35, 0x8d, 0x24, - 0xfd, 0x41, 0x2f, 0xa0, 0x63, 0x3e, 0xb0, 0xca, 0x6d, 0x63, 0xab, 0x28, 0x9a, 0x26, 0x64, 0xbb, - 0x42, 0x64, 0xbf, 0x0d, 0x95, 0x59, 0x75, 0xf1, 0x65, 0x58, 0x19, 0xd2, 0xa9, 0xee, 0xad, 0xf8, - 0xc4, 0x06, 0x14, 0x0f, 0xc9, 0xc1, 0x24, 0x6b, 0xa5, 0x3a, 0xdc, 0x29, 0xdc, 0x36, 0x9c, 0xc7, - 0x70, 0xe5, 0x41, 0xc4, 0x02, 0xd9, 0xaf, 0x34, 0x63, 0xce, 0x3b, 0x50, 0x94, 0xfb, 0x52, 0x42, - 0x98, 0x9d, 0xcd, 0xe7, 0x68, 0xae, 0xaf, 0x2c, 0x9c, 0x06, 0x60, 0x97, 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 0x6f, 0xbe, 0x75, 0xbe, + 0x92, 0x72, 0xd7, 0x10, 0xee, 0xea, 0x48, 0x77, 0x4e, 0xb9, 0x83, 0x0e, 0xc4, 0x9f, 0xb2, 0xf4, + 0x68, 0xa2, 0xdb, 0xcb, 0x68, 0x67, 0x50, 0xcb, 0xbc, 0xf3, 0x6f, 0x6a, 0xca, 0xed, 0x9a, 0x70, + 0x7b, 0x15, 0xd5, 0x9d, 0xf4, 0xbc, 0x6e, 0x6d, 0x1e, 0x9d, 0xb4, 0xb4, 0x5f, 0x4f, 0x5a, 0xda, + 0x9f, 0x27, 0x2d, 0x0d, 0x6e, 0x04, 0xa1, 0x9d, 0xf9, 0x17, 0xa2, 0x50, 0xbf, 0x5c, 0x95, 0xbf, + 0xbb, 0xab, 0x82, 0x69, 0xef, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x43, 0x45, 0x1e, 0x73, 0xe4, + 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1174,6 +1198,16 @@ func (m *GetTraceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.RawTraces { + i-- + if m.RawTraces { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.EndTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.EndTime):]) if err1 != nil { return 0, err1 @@ -1348,6 +1382,16 @@ func (m *TraceQueryParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.RawTraces { + i-- + if m.RawTraces { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } if m.SearchDepth != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.SearchDepth)) i-- @@ -1762,6 +1806,9 @@ func (m *GetTraceRequest) Size() (n int) { n += 1 + l + sovQuery(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdTime(m.EndTime) n += 1 + l + sovQuery(uint64(l)) + if m.RawTraces { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -1849,6 +1896,9 @@ func (m *TraceQueryParameters) Size() (n int) { if m.SearchDepth != 0 { n += 1 + sovQuery(uint64(m.SearchDepth)) } + if m.RawTraces { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2133,6 +2183,26 @@ func (m *GetTraceRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RawTraces", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RawTraces = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -2812,6 +2882,26 @@ func (m *TraceQueryParameters) Unmarshal(dAtA []byte) error { break } } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RawTraces", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RawTraces = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:])