|
|
|
@ -40,7 +40,7 @@ func (m *ConfigTraceServiceRequest) Reset() { *m = ConfigTraceServiceReq |
|
|
|
|
func (m *ConfigTraceServiceRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ConfigTraceServiceRequest) ProtoMessage() {} |
|
|
|
|
func (*ConfigTraceServiceRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_trace_service_becc484d53bc0469, []int{0} |
|
|
|
|
return fileDescriptor_trace_service_63b50dd6ac862852, []int{0} |
|
|
|
|
} |
|
|
|
|
func (m *ConfigTraceServiceRequest) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_ConfigTraceServiceRequest.Unmarshal(m, b) |
|
|
|
@ -86,7 +86,7 @@ func (m *ConfigTraceServiceResponse) Reset() { *m = ConfigTraceServiceRe |
|
|
|
|
func (m *ConfigTraceServiceResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ConfigTraceServiceResponse) ProtoMessage() {} |
|
|
|
|
func (*ConfigTraceServiceResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_trace_service_becc484d53bc0469, []int{1} |
|
|
|
|
return fileDescriptor_trace_service_63b50dd6ac862852, []int{1} |
|
|
|
|
} |
|
|
|
|
func (m *ConfigTraceServiceResponse) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_ConfigTraceServiceResponse.Unmarshal(m, b) |
|
|
|
@ -127,7 +127,7 @@ func (m *ExportTraceServiceRequest) Reset() { *m = ExportTraceServiceReq |
|
|
|
|
func (m *ExportTraceServiceRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ExportTraceServiceRequest) ProtoMessage() {} |
|
|
|
|
func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_trace_service_becc484d53bc0469, []int{2} |
|
|
|
|
return fileDescriptor_trace_service_63b50dd6ac862852, []int{2} |
|
|
|
|
} |
|
|
|
|
func (m *ExportTraceServiceRequest) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_ExportTraceServiceRequest.Unmarshal(m, b) |
|
|
|
@ -171,7 +171,7 @@ func (m *ExportTraceServiceResponse) Reset() { *m = ExportTraceServiceRe |
|
|
|
|
func (m *ExportTraceServiceResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ExportTraceServiceResponse) ProtoMessage() {} |
|
|
|
|
func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_trace_service_becc484d53bc0469, []int{3} |
|
|
|
|
return fileDescriptor_trace_service_63b50dd6ac862852, []int{3} |
|
|
|
|
} |
|
|
|
|
func (m *ExportTraceServiceResponse) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_ExportTraceServiceResponse.Unmarshal(m, b) |
|
|
|
@ -210,12 +210,12 @@ const _ = grpc.SupportPackageIsVersion4 |
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type TraceServiceClient interface { |
|
|
|
|
// After the initialization this RPC must be kept alive for the
|
|
|
|
|
// entire life of the application. Agent pushes configs to the
|
|
|
|
|
// application via a stream of responses.
|
|
|
|
|
// After initialization, this RPC must be kept alive for the
|
|
|
|
|
// entire life of the application. The agent pushes configs
|
|
|
|
|
// down to applications via a stream of requests.
|
|
|
|
|
Config(ctx context.Context, opts ...grpc.CallOption) (TraceService_ConfigClient, error) |
|
|
|
|
// Allow to export Spans.
|
|
|
|
|
// For performance reason, it is recommended to keep this RPC
|
|
|
|
|
// Allows applications to send spans to the agent.
|
|
|
|
|
// For performance reasons, it is recommended to keep this RPC
|
|
|
|
|
// alive for the entire life of the application.
|
|
|
|
|
Export(ctx context.Context, opts ...grpc.CallOption) (TraceService_ExportClient, error) |
|
|
|
|
} |
|
|
|
@ -238,8 +238,8 @@ func (c *traceServiceClient) Config(ctx context.Context, opts ...grpc.CallOption |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type TraceService_ConfigClient interface { |
|
|
|
|
Send(*ConfigTraceServiceRequest) error |
|
|
|
|
Recv() (*ConfigTraceServiceResponse, error) |
|
|
|
|
Send(*ConfigTraceServiceResponse) error |
|
|
|
|
Recv() (*ConfigTraceServiceRequest, error) |
|
|
|
|
grpc.ClientStream |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -247,12 +247,12 @@ type traceServiceConfigClient struct { |
|
|
|
|
grpc.ClientStream |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *traceServiceConfigClient) Send(m *ConfigTraceServiceRequest) error { |
|
|
|
|
func (x *traceServiceConfigClient) Send(m *ConfigTraceServiceResponse) error { |
|
|
|
|
return x.ClientStream.SendMsg(m) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *traceServiceConfigClient) Recv() (*ConfigTraceServiceResponse, error) { |
|
|
|
|
m := new(ConfigTraceServiceResponse) |
|
|
|
|
func (x *traceServiceConfigClient) Recv() (*ConfigTraceServiceRequest, error) { |
|
|
|
|
m := new(ConfigTraceServiceRequest) |
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil { |
|
|
|
|
return nil, err |
|
|
|
|
} |
|
|
|
@ -292,12 +292,12 @@ func (x *traceServiceExportClient) Recv() (*ExportTraceServiceResponse, error) { |
|
|
|
|
|
|
|
|
|
// TraceServiceServer is the server API for TraceService service.
|
|
|
|
|
type TraceServiceServer interface { |
|
|
|
|
// After the initialization this RPC must be kept alive for the
|
|
|
|
|
// entire life of the application. Agent pushes configs to the
|
|
|
|
|
// application via a stream of responses.
|
|
|
|
|
// After initialization, this RPC must be kept alive for the
|
|
|
|
|
// entire life of the application. The agent pushes configs
|
|
|
|
|
// down to applications via a stream of requests.
|
|
|
|
|
Config(TraceService_ConfigServer) error |
|
|
|
|
// Allow to export Spans.
|
|
|
|
|
// For performance reason, it is recommended to keep this RPC
|
|
|
|
|
// Allows applications to send spans to the agent.
|
|
|
|
|
// For performance reasons, it is recommended to keep this RPC
|
|
|
|
|
// alive for the entire life of the application.
|
|
|
|
|
Export(TraceService_ExportServer) error |
|
|
|
|
} |
|
|
|
@ -311,8 +311,8 @@ func _TraceService_Config_Handler(srv interface{}, stream grpc.ServerStream) err |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type TraceService_ConfigServer interface { |
|
|
|
|
Send(*ConfigTraceServiceResponse) error |
|
|
|
|
Recv() (*ConfigTraceServiceRequest, error) |
|
|
|
|
Send(*ConfigTraceServiceRequest) error |
|
|
|
|
Recv() (*ConfigTraceServiceResponse, error) |
|
|
|
|
grpc.ServerStream |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -320,12 +320,12 @@ type traceServiceConfigServer struct { |
|
|
|
|
grpc.ServerStream |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *traceServiceConfigServer) Send(m *ConfigTraceServiceResponse) error { |
|
|
|
|
func (x *traceServiceConfigServer) Send(m *ConfigTraceServiceRequest) error { |
|
|
|
|
return x.ServerStream.SendMsg(m) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *traceServiceConfigServer) Recv() (*ConfigTraceServiceRequest, error) { |
|
|
|
|
m := new(ConfigTraceServiceRequest) |
|
|
|
|
func (x *traceServiceConfigServer) Recv() (*ConfigTraceServiceResponse, error) { |
|
|
|
|
m := new(ConfigTraceServiceResponse) |
|
|
|
|
if err := x.ServerStream.RecvMsg(m); err != nil { |
|
|
|
|
return nil, err |
|
|
|
|
} |
|
|
|
@ -380,32 +380,32 @@ var _TraceService_serviceDesc = grpc.ServiceDesc{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { |
|
|
|
|
proto.RegisterFile("opencensus/proto/agent/trace/v1/trace_service.proto", fileDescriptor_trace_service_becc484d53bc0469) |
|
|
|
|
proto.RegisterFile("opencensus/proto/agent/trace/v1/trace_service.proto", fileDescriptor_trace_service_63b50dd6ac862852) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var fileDescriptor_trace_service_becc484d53bc0469 = []byte{ |
|
|
|
|
var fileDescriptor_trace_service_63b50dd6ac862852 = []byte{ |
|
|
|
|
// 368 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xb1, 0x4f, 0xfa, 0x40, |
|
|
|
|
0x14, 0xc7, 0x7f, 0xc7, 0x4f, 0x19, 0x0e, 0x17, 0x3b, 0x41, 0x63, 0x02, 0x69, 0xa2, 0x61, 0xb0, |
|
|
|
|
0x57, 0x81, 0xb8, 0x60, 0xe2, 0x80, 0x31, 0x71, 0x32, 0xa4, 0x38, 0x19, 0x13, 0x52, 0xca, 0x59, |
|
|
|
|
0x3b, 0xf0, 0x5e, 0xed, 0x5d, 0x1b, 0x77, 0x07, 0x37, 0x57, 0x77, 0xff, 0x52, 0xd3, 0x7b, 0x18, |
|
|
|
|
0x50, 0xa9, 0x10, 0x75, 0xbb, 0xdc, 0xfb, 0x7e, 0xbf, 0xef, 0xf3, 0xde, 0x41, 0x79, 0x0f, 0x13, |
|
|
|
|
0x09, 0xa1, 0x04, 0x95, 0x29, 0x2f, 0x49, 0x51, 0xa3, 0x17, 0x44, 0x12, 0xb4, 0xa7, 0xd3, 0x20, |
|
|
|
|
0x94, 0x5e, 0xde, 0xa1, 0xc3, 0x58, 0xc9, 0x34, 0x8f, 0x43, 0x29, 0x8c, 0xc4, 0x6a, 0x2e, 0x4c, |
|
|
|
|
0x74, 0x23, 0x8c, 0x49, 0x18, 0xad, 0xc8, 0x3b, 0xb6, 0x5b, 0x92, 0x1a, 0xe2, 0x6c, 0x86, 0x50, |
|
|
|
|
0xc4, 0xd2, 0x89, 0xdc, 0xf6, 0xfe, 0x17, 0xf9, 0xc7, 0xf6, 0x73, 0xd9, 0xe1, 0x1a, 0xd9, 0x38, |
|
|
|
|
0x44, 0xb8, 0x8d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x85, 0x62, 0xc8, 0xae, 0x2f, 0xa2, 0x58, |
|
|
|
|
0xdf, 0x65, 0x93, 0xe2, 0x49, 0x3d, 0x32, 0xbb, 0x31, 0x28, 0x9d, 0x66, 0x33, 0x09, 0x3a, 0xd0, |
|
|
|
|
0x31, 0x82, 0xb7, 0xc8, 0x75, 0xe9, 0x7f, 0x15, 0x49, 0x70, 0xa3, 0xcf, 0x9f, 0x82, 0x49, 0xd5, |
|
|
|
|
0x14, 0x7b, 0x6f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa0, 0xe5, 0xe4, 0x71, 0x34, 0x04, 0x00, 0x00, |
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xbf, 0x4f, 0xf3, 0x30, |
|
|
|
|
0x14, 0xfc, 0xdc, 0x0f, 0x3a, 0xb8, 0x2c, 0x64, 0x6a, 0x23, 0xa4, 0x56, 0x91, 0x40, 0x1d, 0x88, |
|
|
|
|
0x43, 0x5b, 0xb1, 0xb4, 0x12, 0x43, 0x11, 0x12, 0x13, 0xaa, 0x52, 0x26, 0x84, 0x54, 0xa5, 0xa9, |
|
|
|
|
0x09, 0x19, 0xfa, 0x6c, 0x62, 0x27, 0x62, 0x67, 0x60, 0x63, 0x65, 0xe7, 0x2f, 0x45, 0xf1, 0x0b, |
|
|
|
|
0x6a, 0x81, 0x86, 0x48, 0x85, 0xcd, 0xf2, 0xbb, 0xbb, 0x77, 0x77, 0xf9, 0x41, 0x07, 0x42, 0x72, |
|
|
|
|
0x08, 0x39, 0xa8, 0x54, 0x79, 0x32, 0x11, 0x5a, 0x78, 0x41, 0xc4, 0x41, 0x7b, 0x3a, 0x09, 0x42, |
|
|
|
|
0xee, 0x65, 0x3d, 0x3c, 0xcc, 0x14, 0x4f, 0xb2, 0x38, 0xe4, 0xcc, 0x40, 0xac, 0xf6, 0x8a, 0x84, |
|
|
|
|
0x37, 0xcc, 0x90, 0x98, 0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