v1

package
v0.0.0-...-73ec469 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSpanHandlerServer

func RegisterSpanHandlerServer(s *grpc.Server, srv SpanHandlerServer)

Types

type SpanHandlerClient

type SpanHandlerClient interface {
	// For performance reasons, it is recommended to keep this RPC
	// alive for the entire life of the application.
	HandleSpans(ctx context.Context, in *SpansRequest, opts ...grpc.CallOption) (*SpansResponse, error)
}

SpanHandlerClient is the client API for SpanHandler 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.

type SpanHandlerServer

type SpanHandlerServer interface {
	// For performance reasons, it is recommended to keep this RPC
	// alive for the entire life of the application.
	HandleSpans(context.Context, *SpansRequest) (*SpansResponse, error)
	// contains filtered or unexported methods
}

SpanHandlerServer is the server API for SpanHandler service. All implementations must embed UnimplementedSpanHandlerServer for forward compatibility

type SpansRequest

type SpansRequest 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 (*SpansRequest) Descriptor

func (*SpansRequest) Descriptor() ([]byte, []int)

func (*SpansRequest) GetResourceSpans

func (m *SpansRequest) GetResourceSpans() []*v1.ResourceSpans

func (*SpansRequest) ProtoMessage

func (*SpansRequest) ProtoMessage()

func (*SpansRequest) Reset

func (m *SpansRequest) Reset()

func (*SpansRequest) String

func (m *SpansRequest) String() string

func (*SpansRequest) XXX_DiscardUnknown

func (m *SpansRequest) XXX_DiscardUnknown()

func (*SpansRequest) XXX_Marshal

func (m *SpansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpansRequest) XXX_Merge

func (m *SpansRequest) XXX_Merge(src proto.Message)

func (*SpansRequest) XXX_Size

func (m *SpansRequest) XXX_Size() int

func (*SpansRequest) XXX_Unmarshal

func (m *SpansRequest) XXX_Unmarshal(b []byte) error

type SpansResponse

type SpansResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SpansResponse) Descriptor

func (*SpansResponse) Descriptor() ([]byte, []int)

func (*SpansResponse) ProtoMessage

func (*SpansResponse) ProtoMessage()

func (*SpansResponse) Reset

func (m *SpansResponse) Reset()

func (*SpansResponse) String

func (m *SpansResponse) String() string

func (*SpansResponse) XXX_DiscardUnknown

func (m *SpansResponse) XXX_DiscardUnknown()

func (*SpansResponse) XXX_Marshal

func (m *SpansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpansResponse) XXX_Merge

func (m *SpansResponse) XXX_Merge(src proto.Message)

func (*SpansResponse) XXX_Size

func (m *SpansResponse) XXX_Size() int

func (*SpansResponse) XXX_Unmarshal

func (m *SpansResponse) XXX_Unmarshal(b []byte) error

type UnimplementedSpanHandlerServer

type UnimplementedSpanHandlerServer struct {
}

UnimplementedSpanHandlerServer must be embedded to have forward compatible implementations.

func (*UnimplementedSpanHandlerServer) HandleSpans

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL