Documentation ¶
Index ¶
- func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)
- type ExportTraceServiceRequest
- func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int)
- func (m *ExportTraceServiceRequest) GetResourceSpans() []*v1.ResourceSpans
- func (*ExportTraceServiceRequest) ProtoMessage()
- func (m *ExportTraceServiceRequest) Reset()
- func (m *ExportTraceServiceRequest) String() string
- func (m *ExportTraceServiceRequest) XXX_DiscardUnknown()
- func (m *ExportTraceServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportTraceServiceRequest) XXX_Merge(src proto.Message)
- func (m *ExportTraceServiceRequest) XXX_Size() int
- func (m *ExportTraceServiceRequest) XXX_Unmarshal(b []byte) error
- type ExportTraceServiceResponse
- func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int)
- func (*ExportTraceServiceResponse) ProtoMessage()
- func (m *ExportTraceServiceResponse) Reset()
- func (m *ExportTraceServiceResponse) String() string
- func (m *ExportTraceServiceResponse) XXX_DiscardUnknown()
- func (m *ExportTraceServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportTraceServiceResponse) XXX_Merge(src proto.Message)
- func (m *ExportTraceServiceResponse) XXX_Size() int
- func (m *ExportTraceServiceResponse) XXX_Unmarshal(b []byte) error
- type TraceServiceClient
- type TraceServiceServer
- type UnimplementedTraceServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTraceServiceServer ¶
func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)
Types ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExportTraceServiceRequest) Descriptor ¶
func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int)
func (*ExportTraceServiceRequest) GetResourceSpans ¶
func (m *ExportTraceServiceRequest) GetResourceSpans() []*v1.ResourceSpans
func (*ExportTraceServiceRequest) ProtoMessage ¶
func (*ExportTraceServiceRequest) ProtoMessage()
func (*ExportTraceServiceRequest) Reset ¶
func (m *ExportTraceServiceRequest) Reset()
func (*ExportTraceServiceRequest) String ¶
func (m *ExportTraceServiceRequest) String() string
func (*ExportTraceServiceRequest) XXX_DiscardUnknown ¶
func (m *ExportTraceServiceRequest) XXX_DiscardUnknown()
func (*ExportTraceServiceRequest) XXX_Marshal ¶
func (m *ExportTraceServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportTraceServiceRequest) XXX_Merge ¶
func (m *ExportTraceServiceRequest) XXX_Merge(src proto.Message)
func (*ExportTraceServiceRequest) XXX_Size ¶
func (m *ExportTraceServiceRequest) XXX_Size() int
func (*ExportTraceServiceRequest) XXX_Unmarshal ¶
func (m *ExportTraceServiceRequest) XXX_Unmarshal(b []byte) error
type ExportTraceServiceResponse ¶
type ExportTraceServiceResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExportTraceServiceResponse) Descriptor ¶
func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int)
func (*ExportTraceServiceResponse) ProtoMessage ¶
func (*ExportTraceServiceResponse) ProtoMessage()
func (*ExportTraceServiceResponse) Reset ¶
func (m *ExportTraceServiceResponse) Reset()
func (*ExportTraceServiceResponse) String ¶
func (m *ExportTraceServiceResponse) String() string
func (*ExportTraceServiceResponse) XXX_DiscardUnknown ¶
func (m *ExportTraceServiceResponse) XXX_DiscardUnknown()
func (*ExportTraceServiceResponse) XXX_Marshal ¶
func (m *ExportTraceServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportTraceServiceResponse) XXX_Merge ¶
func (m *ExportTraceServiceResponse) XXX_Merge(src proto.Message)
func (*ExportTraceServiceResponse) XXX_Size ¶
func (m *ExportTraceServiceResponse) XXX_Size() int
func (*ExportTraceServiceResponse) XXX_Unmarshal ¶
func (m *ExportTraceServiceResponse) XXX_Unmarshal(b []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)
Click to show internal directories.
Click to hide internal directories.