Documentation
¶
Index ¶
- Variables
- func RegisterTraceServiceServer(s grpc.ServiceRegistrar, srv TraceServiceServer)
- type ExportTracePartialSuccess
- func (m *ExportTracePartialSuccess) CloneMessageVT() proto.Message
- func (m *ExportTracePartialSuccess) CloneVT() *ExportTracePartialSuccess
- func (*ExportTracePartialSuccess) Descriptor() ([]byte, []int)deprecated
- func (this *ExportTracePartialSuccess) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ExportTracePartialSuccess) EqualVT(that *ExportTracePartialSuccess) bool
- func (x *ExportTracePartialSuccess) GetErrorMessage() string
- func (x *ExportTracePartialSuccess) GetRejectedSpans() int64
- func (m *ExportTracePartialSuccess) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExportTracePartialSuccess) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ExportTracePartialSuccess) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExportTracePartialSuccess) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ExportTracePartialSuccess) MarshalVT() (dAtA []byte, err error)
- func (m *ExportTracePartialSuccess) MarshalVTStrict() (dAtA []byte, err error)
- func (*ExportTracePartialSuccess) ProtoMessage()
- func (x *ExportTracePartialSuccess) ProtoReflect() protoreflect.Message
- func (x *ExportTracePartialSuccess) Reset()
- func (m *ExportTracePartialSuccess) SizeVT() (n int)
- func (x *ExportTracePartialSuccess) String() string
- func (m *ExportTracePartialSuccess) UnmarshalVT(dAtA []byte) error
- func (m *ExportTracePartialSuccess) UnmarshalVTUnsafe(dAtA []byte) error
- type ExportTraceServiceRequest
- func (m *ExportTraceServiceRequest) CloneMessageVT() proto.Message
- func (m *ExportTraceServiceRequest) CloneVT() *ExportTraceServiceRequest
- func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ExportTraceServiceRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ExportTraceServiceRequest) EqualVT(that *ExportTraceServiceRequest) bool
- func (x *ExportTraceServiceRequest) GetResourceSpans() []*v1.ResourceSpans
- func (m *ExportTraceServiceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExportTraceServiceRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ExportTraceServiceRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExportTraceServiceRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ExportTraceServiceRequest) MarshalVT() (dAtA []byte, err error)
- func (m *ExportTraceServiceRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*ExportTraceServiceRequest) ProtoMessage()
- func (x *ExportTraceServiceRequest) ProtoReflect() protoreflect.Message
- func (x *ExportTraceServiceRequest) Reset()
- func (m *ExportTraceServiceRequest) ResetVT()
- func (m *ExportTraceServiceRequest) ReturnToVTPool()
- func (m *ExportTraceServiceRequest) SizeVT() (n int)
- func (x *ExportTraceServiceRequest) String() string
- func (m *ExportTraceServiceRequest) UnmarshalVT(dAtA []byte) error
- func (m *ExportTraceServiceRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type ExportTraceServiceResponse
- func (m *ExportTraceServiceResponse) CloneMessageVT() proto.Message
- func (m *ExportTraceServiceResponse) CloneVT() *ExportTraceServiceResponse
- func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ExportTraceServiceResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ExportTraceServiceResponse) EqualVT(that *ExportTraceServiceResponse) bool
- func (x *ExportTraceServiceResponse) GetPartialSuccess() *ExportTracePartialSuccess
- func (m *ExportTraceServiceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExportTraceServiceResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ExportTraceServiceResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExportTraceServiceResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ExportTraceServiceResponse) MarshalVT() (dAtA []byte, err error)
- func (m *ExportTraceServiceResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*ExportTraceServiceResponse) ProtoMessage()
- func (x *ExportTraceServiceResponse) ProtoReflect() protoreflect.Message
- func (x *ExportTraceServiceResponse) Reset()
- func (m *ExportTraceServiceResponse) SizeVT() (n int)
- func (x *ExportTraceServiceResponse) String() string
- func (m *ExportTraceServiceResponse) UnmarshalVT(dAtA []byte) error
- func (m *ExportTraceServiceResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type TraceServiceClient
- type TraceServiceServer
- type UnimplementedTraceServiceServer
- type UnsafeTraceServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_opentelemetry_proto_collector_trace_v1_trace_service_proto protoreflect.FileDescriptor
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 ExportTracePartialSuccess ¶
type ExportTracePartialSuccess struct { // The number of rejected spans. // // A `rejected_<signal>` field holding a `0` value indicates that the // request was fully accepted. RejectedSpans int64 `protobuf:"varint,1,opt,name=rejected_spans,json=rejectedSpans,proto3" json:"rejected_spans,omitempty"` // A developer-facing human-readable message in English. It should be used // either to explain why the server rejected parts of the data during a partial // success or to convey warnings/suggestions during a full success. The message // should offer guidance on how users can address such issues. // // error_message is an optional field. An error_message with an empty value // is equivalent to it not being set. ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*ExportTracePartialSuccess) CloneMessageVT ¶
func (m *ExportTracePartialSuccess) CloneMessageVT() proto.Message
func (*ExportTracePartialSuccess) CloneVT ¶
func (m *ExportTracePartialSuccess) CloneVT() *ExportTracePartialSuccess
func (*ExportTracePartialSuccess) Descriptor
deprecated
func (*ExportTracePartialSuccess) Descriptor() ([]byte, []int)
Deprecated: Use ExportTracePartialSuccess.ProtoReflect.Descriptor instead.
func (*ExportTracePartialSuccess) EqualMessageVT ¶
func (this *ExportTracePartialSuccess) EqualMessageVT(thatMsg proto.Message) bool
func (*ExportTracePartialSuccess) EqualVT ¶
func (this *ExportTracePartialSuccess) EqualVT(that *ExportTracePartialSuccess) bool
func (*ExportTracePartialSuccess) GetErrorMessage ¶
func (x *ExportTracePartialSuccess) GetErrorMessage() string
func (*ExportTracePartialSuccess) GetRejectedSpans ¶
func (x *ExportTracePartialSuccess) GetRejectedSpans() int64
func (*ExportTracePartialSuccess) MarshalToSizedBufferVT ¶
func (m *ExportTracePartialSuccess) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExportTracePartialSuccess) MarshalToSizedBufferVTStrict ¶
func (m *ExportTracePartialSuccess) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ExportTracePartialSuccess) MarshalToVT ¶
func (m *ExportTracePartialSuccess) MarshalToVT(dAtA []byte) (int, error)
func (*ExportTracePartialSuccess) MarshalToVTStrict ¶
func (m *ExportTracePartialSuccess) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ExportTracePartialSuccess) MarshalVT ¶
func (m *ExportTracePartialSuccess) MarshalVT() (dAtA []byte, err error)
func (*ExportTracePartialSuccess) MarshalVTStrict ¶
func (m *ExportTracePartialSuccess) MarshalVTStrict() (dAtA []byte, err error)
func (*ExportTracePartialSuccess) ProtoMessage ¶
func (*ExportTracePartialSuccess) ProtoMessage()
func (*ExportTracePartialSuccess) ProtoReflect ¶
func (x *ExportTracePartialSuccess) ProtoReflect() protoreflect.Message
func (*ExportTracePartialSuccess) Reset ¶
func (x *ExportTracePartialSuccess) Reset()
func (*ExportTracePartialSuccess) SizeVT ¶
func (m *ExportTracePartialSuccess) SizeVT() (n int)
func (*ExportTracePartialSuccess) String ¶
func (x *ExportTracePartialSuccess) String() string
func (*ExportTracePartialSuccess) UnmarshalVT ¶
func (m *ExportTracePartialSuccess) UnmarshalVT(dAtA []byte) error
func (*ExportTracePartialSuccess) UnmarshalVTUnsafe ¶
func (m *ExportTracePartialSuccess) UnmarshalVTUnsafe(dAtA []byte) error
type ExportTraceServiceRequest ¶
type ExportTraceServiceRequest struct { // An array of ResourceSpans. // For data coming from a single resource this array will typically contain one // element. Intermediary nodes (such as OpenTelemetry Collector) that receive // data from multiple origins typically batch the data before forwarding further and // in that case this array will contain multiple elements. ResourceSpans []*v1.ResourceSpans `protobuf:"bytes,1,rep,name=resource_spans,json=resourceSpans,proto3" json:"resource_spans,omitempty"` // contains filtered or unexported fields }
func ExportTraceServiceRequestFromVTPool ¶
func ExportTraceServiceRequestFromVTPool() *ExportTraceServiceRequest
func (*ExportTraceServiceRequest) CloneMessageVT ¶
func (m *ExportTraceServiceRequest) CloneMessageVT() proto.Message
func (*ExportTraceServiceRequest) CloneVT ¶
func (m *ExportTraceServiceRequest) CloneVT() *ExportTraceServiceRequest
func (*ExportTraceServiceRequest) Descriptor
deprecated
func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportTraceServiceRequest.ProtoReflect.Descriptor instead.
func (*ExportTraceServiceRequest) EqualMessageVT ¶
func (this *ExportTraceServiceRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ExportTraceServiceRequest) EqualVT ¶
func (this *ExportTraceServiceRequest) EqualVT(that *ExportTraceServiceRequest) bool
func (*ExportTraceServiceRequest) GetResourceSpans ¶
func (x *ExportTraceServiceRequest) GetResourceSpans() []*v1.ResourceSpans
func (*ExportTraceServiceRequest) MarshalToSizedBufferVT ¶
func (m *ExportTraceServiceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExportTraceServiceRequest) MarshalToSizedBufferVTStrict ¶
func (m *ExportTraceServiceRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ExportTraceServiceRequest) MarshalToVT ¶
func (m *ExportTraceServiceRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ExportTraceServiceRequest) MarshalToVTStrict ¶
func (m *ExportTraceServiceRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ExportTraceServiceRequest) MarshalVT ¶
func (m *ExportTraceServiceRequest) MarshalVT() (dAtA []byte, err error)
func (*ExportTraceServiceRequest) MarshalVTStrict ¶
func (m *ExportTraceServiceRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*ExportTraceServiceRequest) ProtoMessage ¶
func (*ExportTraceServiceRequest) ProtoMessage()
func (*ExportTraceServiceRequest) ProtoReflect ¶
func (x *ExportTraceServiceRequest) ProtoReflect() protoreflect.Message
func (*ExportTraceServiceRequest) Reset ¶
func (x *ExportTraceServiceRequest) Reset()
func (*ExportTraceServiceRequest) ResetVT ¶
func (m *ExportTraceServiceRequest) ResetVT()
func (*ExportTraceServiceRequest) ReturnToVTPool ¶
func (m *ExportTraceServiceRequest) ReturnToVTPool()
func (*ExportTraceServiceRequest) SizeVT ¶
func (m *ExportTraceServiceRequest) SizeVT() (n int)
func (*ExportTraceServiceRequest) String ¶
func (x *ExportTraceServiceRequest) String() string
func (*ExportTraceServiceRequest) UnmarshalVT ¶
func (m *ExportTraceServiceRequest) UnmarshalVT(dAtA []byte) error
func (*ExportTraceServiceRequest) UnmarshalVTUnsafe ¶
func (m *ExportTraceServiceRequest) UnmarshalVTUnsafe(dAtA []byte) error
type ExportTraceServiceResponse ¶
type ExportTraceServiceResponse struct { // The details of a partially successful export request. // // If the request is only partially accepted // (i.e. when the server accepts only parts of the data and rejects the rest) // the server MUST initialize the `partial_success` field and MUST // set the `rejected_<signal>` with the number of items it rejected. // // Servers MAY also make use of the `partial_success` field to convey // warnings/suggestions to senders even when the request was fully accepted. // In such cases, the `rejected_<signal>` MUST have a value of `0` and // the `error_message` MUST be non-empty. // // A `partial_success` message with an empty value (rejected_<signal> = 0 and // `error_message` = "") is equivalent to it not being set/present. Senders // SHOULD interpret it the same way as in the full success case. PartialSuccess *ExportTracePartialSuccess `protobuf:"bytes,1,opt,name=partial_success,json=partialSuccess,proto3" json:"partial_success,omitempty"` // contains filtered or unexported fields }
func (*ExportTraceServiceResponse) CloneMessageVT ¶
func (m *ExportTraceServiceResponse) CloneMessageVT() proto.Message
func (*ExportTraceServiceResponse) CloneVT ¶
func (m *ExportTraceServiceResponse) CloneVT() *ExportTraceServiceResponse
func (*ExportTraceServiceResponse) Descriptor
deprecated
func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportTraceServiceResponse.ProtoReflect.Descriptor instead.
func (*ExportTraceServiceResponse) EqualMessageVT ¶
func (this *ExportTraceServiceResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ExportTraceServiceResponse) EqualVT ¶
func (this *ExportTraceServiceResponse) EqualVT(that *ExportTraceServiceResponse) bool
func (*ExportTraceServiceResponse) GetPartialSuccess ¶
func (x *ExportTraceServiceResponse) GetPartialSuccess() *ExportTracePartialSuccess
func (*ExportTraceServiceResponse) MarshalToSizedBufferVT ¶
func (m *ExportTraceServiceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExportTraceServiceResponse) MarshalToSizedBufferVTStrict ¶
func (m *ExportTraceServiceResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ExportTraceServiceResponse) MarshalToVT ¶
func (m *ExportTraceServiceResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ExportTraceServiceResponse) MarshalToVTStrict ¶
func (m *ExportTraceServiceResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ExportTraceServiceResponse) MarshalVT ¶
func (m *ExportTraceServiceResponse) MarshalVT() (dAtA []byte, err error)
func (*ExportTraceServiceResponse) MarshalVTStrict ¶
func (m *ExportTraceServiceResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*ExportTraceServiceResponse) ProtoMessage ¶
func (*ExportTraceServiceResponse) ProtoMessage()
func (*ExportTraceServiceResponse) ProtoReflect ¶
func (x *ExportTraceServiceResponse) ProtoReflect() protoreflect.Message
func (*ExportTraceServiceResponse) Reset ¶
func (x *ExportTraceServiceResponse) Reset()
func (*ExportTraceServiceResponse) SizeVT ¶
func (m *ExportTraceServiceResponse) SizeVT() (n int)
func (*ExportTraceServiceResponse) String ¶
func (x *ExportTraceServiceResponse) String() string
func (*ExportTraceServiceResponse) UnmarshalVT ¶
func (m *ExportTraceServiceResponse) UnmarshalVT(dAtA []byte) error
func (*ExportTraceServiceResponse) UnmarshalVTUnsafe ¶
func (m *ExportTraceServiceResponse) UnmarshalVTUnsafe(dAtA []byte) error
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 *ExportTraceServiceRequest, opts ...grpc.CallOption) (*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, *ExportTraceServiceRequest) (*ExportTraceServiceResponse, error) // contains filtered or unexported methods }
TraceServiceServer is the server API for TraceService service. All implementations must embed UnimplementedTraceServiceServer for forward compatibility
type UnimplementedTraceServiceServer ¶
type UnimplementedTraceServiceServer struct { }
UnimplementedTraceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTraceServiceServer) Export ¶
func (UnimplementedTraceServiceServer) Export(context.Context, *ExportTraceServiceRequest) (*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.