Documentation ¶
Index ¶
- Variables
- func RegisterPusherServer(s *grpc.Server, srv PusherServer)
- func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)
- type PushBytesRequest
- func (*PushBytesRequest) Descriptor() ([]byte, []int)
- func (m *PushBytesRequest) GetRequests() [][]byte
- func (m *PushBytesRequest) Marshal() (dAtA []byte, err error)
- func (m *PushBytesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBytesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PushBytesRequest) ProtoMessage()
- func (m *PushBytesRequest) Reset()
- func (m *PushBytesRequest) Size() (n int)
- func (m *PushBytesRequest) String() string
- func (m *PushBytesRequest) Unmarshal(dAtA []byte) error
- func (m *PushBytesRequest) XXX_DiscardUnknown()
- func (m *PushBytesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushBytesRequest) XXX_Merge(src proto.Message)
- func (m *PushBytesRequest) XXX_Size() int
- func (m *PushBytesRequest) XXX_Unmarshal(b []byte) error
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)
- func (m *PushRequest) GetBatch() *v1.ResourceSpans
- func (m *PushRequest) Marshal() (dAtA []byte, err error)
- func (m *PushRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PushRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PushRequest) ProtoMessage()
- func (m *PushRequest) Reset()
- func (m *PushRequest) Size() (n int)
- func (m *PushRequest) String() string
- func (m *PushRequest) Unmarshal(dAtA []byte) error
- func (m *PushRequest) XXX_DiscardUnknown()
- func (m *PushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushRequest) XXX_Merge(src proto.Message)
- func (m *PushRequest) XXX_Size() int
- func (m *PushRequest) XXX_Unmarshal(b []byte) error
- type PushResponse
- func (*PushResponse) Descriptor() ([]byte, []int)
- func (m *PushResponse) Marshal() (dAtA []byte, err error)
- func (m *PushResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PushResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PushResponse) ProtoMessage()
- func (m *PushResponse) Reset()
- func (m *PushResponse) Size() (n int)
- func (m *PushResponse) String() string
- func (m *PushResponse) Unmarshal(dAtA []byte) error
- func (m *PushResponse) XXX_DiscardUnknown()
- func (m *PushResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushResponse) XXX_Merge(src proto.Message)
- func (m *PushResponse) XXX_Size() int
- func (m *PushResponse) XXX_Unmarshal(b []byte) error
- type PusherClient
- type PusherServer
- type QuerierClient
- type QuerierServer
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (m *Trace) GetBatches() []*v1.ResourceSpans
- func (m *Trace) Marshal() (dAtA []byte, err error)
- func (m *Trace) MarshalTo(dAtA []byte) (int, error)
- func (m *Trace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) Size() (n int)
- func (m *Trace) String() string
- func (m *Trace) Unmarshal(dAtA []byte) error
- func (m *Trace) XXX_DiscardUnknown()
- func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trace) XXX_Merge(src proto.Message)
- func (m *Trace) XXX_Size() int
- func (m *Trace) XXX_Unmarshal(b []byte) error
- type TraceByIDRequest
- func (*TraceByIDRequest) Descriptor() ([]byte, []int)
- func (m *TraceByIDRequest) GetBlockEnd() string
- func (m *TraceByIDRequest) GetBlockStart() string
- func (m *TraceByIDRequest) GetQueryIngesters() bool
- func (m *TraceByIDRequest) GetTraceID() []byte
- func (m *TraceByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *TraceByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TraceByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TraceByIDRequest) ProtoMessage()
- func (m *TraceByIDRequest) Reset()
- func (m *TraceByIDRequest) Size() (n int)
- func (m *TraceByIDRequest) String() string
- func (m *TraceByIDRequest) Unmarshal(dAtA []byte) error
- func (m *TraceByIDRequest) XXX_DiscardUnknown()
- func (m *TraceByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceByIDRequest) XXX_Merge(src proto.Message)
- func (m *TraceByIDRequest) XXX_Size() int
- func (m *TraceByIDRequest) XXX_Unmarshal(b []byte) error
- type TraceByIDResponse
- func (*TraceByIDResponse) Descriptor() ([]byte, []int)
- func (m *TraceByIDResponse) GetTrace() *Trace
- func (m *TraceByIDResponse) Marshal() (dAtA []byte, err error)
- func (m *TraceByIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TraceByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TraceByIDResponse) ProtoMessage()
- func (m *TraceByIDResponse) Reset()
- func (m *TraceByIDResponse) Size() (n int)
- func (m *TraceByIDResponse) String() string
- func (m *TraceByIDResponse) Unmarshal(dAtA []byte) error
- func (m *TraceByIDResponse) XXX_DiscardUnknown()
- func (m *TraceByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceByIDResponse) XXX_Merge(src proto.Message)
- func (m *TraceByIDResponse) XXX_Size() int
- func (m *TraceByIDResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedPusherServer
- type UnimplementedQuerierServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterPusherServer ¶
func RegisterPusherServer(s *grpc.Server, srv PusherServer)
func RegisterQuerierServer ¶
func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)
Types ¶
type PushBytesRequest ¶ added in v0.5.0
type PushBytesRequest struct { // pre-serialized PushRequests Requests [][]byte `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` }
func (*PushBytesRequest) Descriptor ¶ added in v0.5.0
func (*PushBytesRequest) Descriptor() ([]byte, []int)
func (*PushBytesRequest) GetRequests ¶ added in v0.5.0
func (m *PushBytesRequest) GetRequests() [][]byte
func (*PushBytesRequest) Marshal ¶ added in v0.5.0
func (m *PushBytesRequest) Marshal() (dAtA []byte, err error)
func (*PushBytesRequest) MarshalTo ¶ added in v0.5.0
func (m *PushBytesRequest) MarshalTo(dAtA []byte) (int, error)
func (*PushBytesRequest) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *PushBytesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushBytesRequest) ProtoMessage ¶ added in v0.5.0
func (*PushBytesRequest) ProtoMessage()
func (*PushBytesRequest) Reset ¶ added in v0.5.0
func (m *PushBytesRequest) Reset()
func (*PushBytesRequest) Size ¶ added in v0.5.0
func (m *PushBytesRequest) Size() (n int)
func (*PushBytesRequest) String ¶ added in v0.5.0
func (m *PushBytesRequest) String() string
func (*PushBytesRequest) Unmarshal ¶ added in v0.5.0
func (m *PushBytesRequest) Unmarshal(dAtA []byte) error
func (*PushBytesRequest) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *PushBytesRequest) XXX_DiscardUnknown()
func (*PushBytesRequest) XXX_Marshal ¶ added in v0.5.0
func (m *PushBytesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushBytesRequest) XXX_Merge ¶ added in v0.5.0
func (m *PushBytesRequest) XXX_Merge(src proto.Message)
func (*PushBytesRequest) XXX_Size ¶ added in v0.5.0
func (m *PushBytesRequest) XXX_Size() int
func (*PushBytesRequest) XXX_Unmarshal ¶ added in v0.5.0
func (m *PushBytesRequest) XXX_Unmarshal(b []byte) error
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) 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) 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) PushBytes(ctx context.Context, in *PushBytesRequest, 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) PushBytes(context.Context, *PushBytesRequest) (*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) GetBatches ¶
func (m *Trace) GetBatches() []*v1.ResourceSpans
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) XXX_DiscardUnknown ¶
func (m *Trace) XXX_DiscardUnknown()
func (*Trace) XXX_Marshal ¶
func (*Trace) XXX_Unmarshal ¶
type TraceByIDRequest ¶
type TraceByIDRequest struct { TraceID []byte `protobuf:"bytes,1,opt,name=traceID,proto3" json:"traceID,omitempty"` BlockStart string `protobuf:"bytes,2,opt,name=blockStart,proto3" json:"blockStart,omitempty"` BlockEnd string `protobuf:"bytes,3,opt,name=blockEnd,proto3" json:"blockEnd,omitempty"` QueryIngesters bool `protobuf:"varint,4,opt,name=queryIngesters,proto3" json:"queryIngesters,omitempty"` }
func (*TraceByIDRequest) Descriptor ¶
func (*TraceByIDRequest) Descriptor() ([]byte, []int)
func (*TraceByIDRequest) GetBlockEnd ¶ added in v0.5.0
func (m *TraceByIDRequest) GetBlockEnd() string
func (*TraceByIDRequest) GetBlockStart ¶ added in v0.5.0
func (m *TraceByIDRequest) GetBlockStart() string
func (*TraceByIDRequest) GetQueryIngesters ¶ added in v0.5.0
func (m *TraceByIDRequest) GetQueryIngesters() bool
func (*TraceByIDRequest) GetTraceID ¶
func (m *TraceByIDRequest) GetTraceID() []byte
func (*TraceByIDRequest) Marshal ¶
func (m *TraceByIDRequest) Marshal() (dAtA []byte, err 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 ¶
func (*UnimplementedPusherServer) Push(ctx context.Context, req *PushRequest) (*PushResponse, error)
func (*UnimplementedPusherServer) PushBytes ¶ added in v0.5.0
func (*UnimplementedPusherServer) PushBytes(ctx context.Context, req *PushBytesRequest) (*PushResponse, error)
type UnimplementedQuerierServer ¶
type UnimplementedQuerierServer struct { }
UnimplementedQuerierServer can be embedded to have forward compatible implementations.
func (*UnimplementedQuerierServer) FindTraceByID ¶
func (*UnimplementedQuerierServer) FindTraceByID(ctx context.Context, req *TraceByIDRequest) (*TraceByIDResponse, error)
Click to show internal directories.
Click to hide internal directories.