Documentation ¶
Index ¶
Constants ¶
const (
TraceService_Export_FullMethodName = "/opentelemetry.proto.collector.trace.v1.TraceService/Export"
)
Variables ¶
var TraceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opentelemetry.proto.collector.trace.v1.TraceService", HandlerType: (*TraceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Export", Handler: _TraceService_Export_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "opentelemetry/proto/collector/trace/v1/trace_service.proto", }
TraceService_ServiceDesc is the grpc.ServiceDesc for TraceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTraceServiceServer ¶
func RegisterTraceServiceServer(s grpc.ServiceRegistrar, srv TraceServiceServer)
Types ¶
type TraceServiceClient ¶
type TraceServiceClient interface { // For performance reasons, it is recommended to keep this RPC // alive for the entire life of the application. Export(ctx context.Context, in *v1.ExportTraceServiceRequest, opts ...grpc.CallOption) (*v1.ExportTraceServiceResponse, error) }
TraceServiceClient is the client API for TraceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTraceServiceClient ¶
func NewTraceServiceClient(cc grpc.ClientConnInterface) TraceServiceClient
type TraceServiceServer ¶
type TraceServiceServer interface { // For performance reasons, it is recommended to keep this RPC // alive for the entire life of the application. Export(context.Context, *v1.ExportTraceServiceRequest) (*v1.ExportTraceServiceResponse, error) }
TraceServiceServer is the server API for TraceService service. All implementations should embed UnimplementedTraceServiceServer for forward compatibility
type UnimplementedTraceServiceServer ¶
type UnimplementedTraceServiceServer struct { }
UnimplementedTraceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTraceServiceServer) Export ¶
func (UnimplementedTraceServiceServer) Export(context.Context, *v1.ExportTraceServiceRequest) (*v1.ExportTraceServiceResponse, error)
type UnsafeTraceServiceServer ¶
type UnsafeTraceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTraceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TraceServiceServer will result in compilation errors.