tempopb

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTempo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTempo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTempo = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterPusherServer

func RegisterPusherServer(s *grpc.Server, srv PusherServer)

func RegisterQuerierServer

func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)

Types

type PushRequest

type PushRequest struct {
	Batch *v1.ResourceSpans `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
}

func (*PushRequest) Descriptor

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

func (*PushRequest) GetBatch

func (m *PushRequest) GetBatch() *v1.ResourceSpans

func (*PushRequest) Marshal

func (m *PushRequest) Marshal() (dAtA []byte, err error)

func (*PushRequest) MarshalTo

func (m *PushRequest) MarshalTo(dAtA []byte) (int, error)

func (*PushRequest) MarshalToSizedBuffer

func (m *PushRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PushRequest) ProtoMessage

func (*PushRequest) ProtoMessage()

func (*PushRequest) Reset

func (m *PushRequest) Reset()

func (*PushRequest) Size

func (m *PushRequest) Size() (n int)

func (*PushRequest) String

func (m *PushRequest) String() string

func (*PushRequest) Unmarshal

func (m *PushRequest) Unmarshal(dAtA []byte) error

func (*PushRequest) XXX_DiscardUnknown

func (m *PushRequest) XXX_DiscardUnknown()

func (*PushRequest) XXX_Marshal

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

func (*PushRequest) XXX_Merge

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

func (*PushRequest) XXX_Size

func (m *PushRequest) XXX_Size() int

func (*PushRequest) XXX_Unmarshal

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

type PushResponse

type PushResponse struct {
}

func (*PushResponse) Descriptor

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

func (*PushResponse) Marshal

func (m *PushResponse) Marshal() (dAtA []byte, err error)

func (*PushResponse) MarshalTo

func (m *PushResponse) MarshalTo(dAtA []byte) (int, error)

func (*PushResponse) MarshalToSizedBuffer

func (m *PushResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PushResponse) ProtoMessage

func (*PushResponse) ProtoMessage()

func (*PushResponse) Reset

func (m *PushResponse) Reset()

func (*PushResponse) Size

func (m *PushResponse) Size() (n int)

func (*PushResponse) String

func (m *PushResponse) String() string

func (*PushResponse) Unmarshal

func (m *PushResponse) Unmarshal(dAtA []byte) error

func (*PushResponse) XXX_DiscardUnknown

func (m *PushResponse) XXX_DiscardUnknown()

func (*PushResponse) XXX_Marshal

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

func (*PushResponse) XXX_Merge

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

func (*PushResponse) XXX_Size

func (m *PushResponse) XXX_Size() int

func (*PushResponse) XXX_Unmarshal

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

type PusherClient

type PusherClient interface {
	Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error)
}

PusherClient is the client API for Pusher service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPusherClient

func NewPusherClient(cc *grpc.ClientConn) PusherClient

type PusherServer

type PusherServer interface {
	Push(context.Context, *PushRequest) (*PushResponse, error)
}

PusherServer is the server API for Pusher service.

type QuerierClient

type QuerierClient interface {
	FindTraceByID(ctx context.Context, in *TraceByIDRequest, opts ...grpc.CallOption) (*TraceByIDResponse, error)
}

QuerierClient is the client API for Querier service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQuerierClient

func NewQuerierClient(cc *grpc.ClientConn) QuerierClient

type QuerierServer

type QuerierServer interface {
	FindTraceByID(context.Context, *TraceByIDRequest) (*TraceByIDResponse, error)
}

QuerierServer is the server API for Querier service.

type Trace

type Trace struct {
	Batches []*v1.ResourceSpans `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
}

func (*Trace) Descriptor

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

func (*Trace) GetBatches

func (m *Trace) GetBatches() []*v1.ResourceSpans

func (*Trace) Marshal

func (m *Trace) Marshal() (dAtA []byte, err error)

func (*Trace) MarshalTo

func (m *Trace) MarshalTo(dAtA []byte) (int, error)

func (*Trace) MarshalToSizedBuffer

func (m *Trace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) Reset

func (m *Trace) Reset()

func (*Trace) Size

func (m *Trace) Size() (n int)

func (*Trace) String

func (m *Trace) String() string

func (*Trace) Unmarshal

func (m *Trace) Unmarshal(dAtA []byte) error

func (*Trace) XXX_DiscardUnknown

func (m *Trace) XXX_DiscardUnknown()

func (*Trace) XXX_Marshal

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

func (*Trace) XXX_Merge

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

func (*Trace) XXX_Size

func (m *Trace) XXX_Size() int

func (*Trace) XXX_Unmarshal

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

type TraceByIDRequest

type TraceByIDRequest struct {
	TraceID []byte `protobuf:"bytes,1,opt,name=traceID,proto3" json:"traceID,omitempty"`
}

func (*TraceByIDRequest) Descriptor

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

func (*TraceByIDRequest) GetTraceID

func (m *TraceByIDRequest) GetTraceID() []byte

func (*TraceByIDRequest) Marshal

func (m *TraceByIDRequest) Marshal() (dAtA []byte, err error)

func (*TraceByIDRequest) MarshalTo

func (m *TraceByIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*TraceByIDRequest) MarshalToSizedBuffer

func (m *TraceByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TraceByIDRequest) ProtoMessage

func (*TraceByIDRequest) ProtoMessage()

func (*TraceByIDRequest) Reset

func (m *TraceByIDRequest) Reset()

func (*TraceByIDRequest) Size

func (m *TraceByIDRequest) Size() (n int)

func (*TraceByIDRequest) String

func (m *TraceByIDRequest) String() string

func (*TraceByIDRequest) Unmarshal

func (m *TraceByIDRequest) Unmarshal(dAtA []byte) error

func (*TraceByIDRequest) XXX_DiscardUnknown

func (m *TraceByIDRequest) XXX_DiscardUnknown()

func (*TraceByIDRequest) XXX_Marshal

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

func (*TraceByIDRequest) XXX_Merge

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

func (*TraceByIDRequest) XXX_Size

func (m *TraceByIDRequest) XXX_Size() int

func (*TraceByIDRequest) XXX_Unmarshal

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

type TraceByIDResponse

type TraceByIDResponse struct {
	Trace *Trace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"`
}

func (*TraceByIDResponse) Descriptor

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

func (*TraceByIDResponse) GetTrace

func (m *TraceByIDResponse) GetTrace() *Trace

func (*TraceByIDResponse) Marshal

func (m *TraceByIDResponse) Marshal() (dAtA []byte, err error)

func (*TraceByIDResponse) MarshalTo

func (m *TraceByIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*TraceByIDResponse) MarshalToSizedBuffer

func (m *TraceByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TraceByIDResponse) ProtoMessage

func (*TraceByIDResponse) ProtoMessage()

func (*TraceByIDResponse) Reset

func (m *TraceByIDResponse) Reset()

func (*TraceByIDResponse) Size

func (m *TraceByIDResponse) Size() (n int)

func (*TraceByIDResponse) String

func (m *TraceByIDResponse) String() string

func (*TraceByIDResponse) Unmarshal

func (m *TraceByIDResponse) Unmarshal(dAtA []byte) error

func (*TraceByIDResponse) XXX_DiscardUnknown

func (m *TraceByIDResponse) XXX_DiscardUnknown()

func (*TraceByIDResponse) XXX_Marshal

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

func (*TraceByIDResponse) XXX_Merge

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

func (*TraceByIDResponse) XXX_Size

func (m *TraceByIDResponse) XXX_Size() int

func (*TraceByIDResponse) XXX_Unmarshal

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

type UnimplementedPusherServer

type UnimplementedPusherServer struct {
}

UnimplementedPusherServer can be embedded to have forward compatible implementations.

func (*UnimplementedPusherServer) Push

type UnimplementedQuerierServer

type UnimplementedQuerierServer struct {
}

UnimplementedQuerierServer can be embedded to have forward compatible implementations.

func (*UnimplementedQuerierServer) FindTraceByID

Jump to

Keyboard shortcuts

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