Documentation ¶
Index ¶
- func RegisterPusherServer(s *grpc.Server, srv PusherServer)
- func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)
- func ReuseTraceBytes(trace *TraceBytes)
- func SliceFromBytePool(size int) []byte
- type PreallocBytes
- type PushBytesRequest
- func (*PushBytesRequest) Descriptor() ([]byte, []int)
- func (*PushBytesRequest) ProtoMessage()
- func (m *PushBytesRequest) Reset()
- func (m *PushBytesRequest) String() string
- 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 PushResponse
- func (*PushResponse) Descriptor() ([]byte, []int)
- func (*PushResponse) ProtoMessage()
- func (m *PushResponse) Reset()
- func (m *PushResponse) String() string
- 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 SearchBlockRequest
- func (*SearchBlockRequest) Descriptor() ([]byte, []int)
- func (m *SearchBlockRequest) GetBlockID() string
- func (m *SearchBlockRequest) GetDataEncoding() string
- func (m *SearchBlockRequest) GetEncoding() string
- func (m *SearchBlockRequest) GetIndexPageSize() uint32
- func (m *SearchBlockRequest) GetPagesToSearch() uint32
- func (m *SearchBlockRequest) GetSearchReq() *SearchRequest
- func (m *SearchBlockRequest) GetStartPage() uint32
- func (m *SearchBlockRequest) GetTotalRecords() uint32
- func (m *SearchBlockRequest) GetVersion() string
- func (*SearchBlockRequest) ProtoMessage()
- func (m *SearchBlockRequest) Reset()
- func (m *SearchBlockRequest) String() string
- func (m *SearchBlockRequest) XXX_DiscardUnknown()
- func (m *SearchBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchBlockRequest) XXX_Merge(src proto.Message)
- func (m *SearchBlockRequest) XXX_Size() int
- func (m *SearchBlockRequest) XXX_Unmarshal(b []byte) error
- type SearchMetrics
- func (*SearchMetrics) Descriptor() ([]byte, []int)
- func (m *SearchMetrics) GetInspectedBlocks() uint32
- func (m *SearchMetrics) GetInspectedBytes() uint64
- func (m *SearchMetrics) GetInspectedTraces() uint32
- func (m *SearchMetrics) GetSkippedBlocks() uint32
- func (*SearchMetrics) ProtoMessage()
- func (m *SearchMetrics) Reset()
- func (m *SearchMetrics) String() string
- func (m *SearchMetrics) XXX_DiscardUnknown()
- func (m *SearchMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchMetrics) XXX_Merge(src proto.Message)
- func (m *SearchMetrics) XXX_Size() int
- func (m *SearchMetrics) XXX_Unmarshal(b []byte) error
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)
- func (m *SearchRequest) GetEnd() uint32
- func (m *SearchRequest) GetLimit() uint32
- func (m *SearchRequest) GetMaxDurationMs() uint32
- func (m *SearchRequest) GetMinDurationMs() uint32
- func (m *SearchRequest) GetStart() uint32
- func (m *SearchRequest) GetTags() map[string]string
- func (*SearchRequest) ProtoMessage()
- func (m *SearchRequest) Reset()
- func (m *SearchRequest) String() string
- func (m *SearchRequest) XXX_DiscardUnknown()
- func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchRequest) XXX_Merge(src proto.Message)
- func (m *SearchRequest) XXX_Size() int
- func (m *SearchRequest) XXX_Unmarshal(b []byte) error
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)
- func (m *SearchResponse) GetMetrics() *SearchMetrics
- func (m *SearchResponse) GetTraces() []*TraceSearchMetadata
- func (*SearchResponse) ProtoMessage()
- func (m *SearchResponse) Reset()
- func (m *SearchResponse) String() string
- func (m *SearchResponse) XXX_DiscardUnknown()
- func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResponse) XXX_Merge(src proto.Message)
- func (m *SearchResponse) XXX_Size() int
- func (m *SearchResponse) XXX_Unmarshal(b []byte) error
- type SearchTagValuesRequest
- func (*SearchTagValuesRequest) Descriptor() ([]byte, []int)
- func (m *SearchTagValuesRequest) GetTagName() string
- func (*SearchTagValuesRequest) ProtoMessage()
- func (m *SearchTagValuesRequest) Reset()
- func (m *SearchTagValuesRequest) String() string
- func (m *SearchTagValuesRequest) XXX_DiscardUnknown()
- func (m *SearchTagValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchTagValuesRequest) XXX_Merge(src proto.Message)
- func (m *SearchTagValuesRequest) XXX_Size() int
- func (m *SearchTagValuesRequest) XXX_Unmarshal(b []byte) error
- type SearchTagValuesResponse
- func (*SearchTagValuesResponse) Descriptor() ([]byte, []int)
- func (m *SearchTagValuesResponse) GetTagValues() []string
- func (*SearchTagValuesResponse) ProtoMessage()
- func (m *SearchTagValuesResponse) Reset()
- func (m *SearchTagValuesResponse) String() string
- func (m *SearchTagValuesResponse) XXX_DiscardUnknown()
- func (m *SearchTagValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchTagValuesResponse) XXX_Merge(src proto.Message)
- func (m *SearchTagValuesResponse) XXX_Size() int
- func (m *SearchTagValuesResponse) XXX_Unmarshal(b []byte) error
- type SearchTagsRequest
- func (*SearchTagsRequest) Descriptor() ([]byte, []int)
- func (*SearchTagsRequest) ProtoMessage()
- func (m *SearchTagsRequest) Reset()
- func (m *SearchTagsRequest) String() string
- func (m *SearchTagsRequest) XXX_DiscardUnknown()
- func (m *SearchTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchTagsRequest) XXX_Merge(src proto.Message)
- func (m *SearchTagsRequest) XXX_Size() int
- func (m *SearchTagsRequest) XXX_Unmarshal(b []byte) error
- type SearchTagsResponse
- func (*SearchTagsResponse) Descriptor() ([]byte, []int)
- func (m *SearchTagsResponse) GetTagNames() []string
- func (*SearchTagsResponse) ProtoMessage()
- func (m *SearchTagsResponse) Reset()
- func (m *SearchTagsResponse) String() string
- func (m *SearchTagsResponse) XXX_DiscardUnknown()
- func (m *SearchTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchTagsResponse) XXX_Merge(src proto.Message)
- func (m *SearchTagsResponse) XXX_Size() int
- func (m *SearchTagsResponse) XXX_Unmarshal(b []byte) error
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (m *Trace) GetBatches() []*v1.ResourceSpans
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) String() string
- 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 TraceByIDMetrics
- func (*TraceByIDMetrics) Descriptor() ([]byte, []int)
- func (m *TraceByIDMetrics) GetFailedBlocks() uint32
- func (*TraceByIDMetrics) ProtoMessage()
- func (m *TraceByIDMetrics) Reset()
- func (m *TraceByIDMetrics) String() string
- func (m *TraceByIDMetrics) XXX_DiscardUnknown()
- func (m *TraceByIDMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceByIDMetrics) XXX_Merge(src proto.Message)
- func (m *TraceByIDMetrics) XXX_Size() int
- func (m *TraceByIDMetrics) 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) GetQueryMode() string
- func (m *TraceByIDRequest) GetTraceID() []byte
- func (*TraceByIDRequest) ProtoMessage()
- func (m *TraceByIDRequest) Reset()
- func (m *TraceByIDRequest) String() string
- 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) GetMetrics() *TraceByIDMetrics
- func (m *TraceByIDResponse) GetTrace() *Trace
- func (*TraceByIDResponse) ProtoMessage()
- func (m *TraceByIDResponse) Reset()
- func (m *TraceByIDResponse) String() string
- 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 TraceBytes
- func (*TraceBytes) Descriptor() ([]byte, []int)
- func (m *TraceBytes) GetTraces() [][]byte
- func (*TraceBytes) ProtoMessage()
- func (m *TraceBytes) Reset()
- func (m *TraceBytes) String() string
- func (m *TraceBytes) XXX_DiscardUnknown()
- func (m *TraceBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceBytes) XXX_Merge(src proto.Message)
- func (m *TraceBytes) XXX_Size() int
- func (m *TraceBytes) XXX_Unmarshal(b []byte) error
- type TraceSearchMetadata
- func (*TraceSearchMetadata) Descriptor() ([]byte, []int)
- func (m *TraceSearchMetadata) GetDurationMs() uint32
- func (m *TraceSearchMetadata) GetRootServiceName() string
- func (m *TraceSearchMetadata) GetRootTraceName() string
- func (m *TraceSearchMetadata) GetStartTimeUnixNano() uint64
- func (m *TraceSearchMetadata) GetTraceID() string
- func (*TraceSearchMetadata) ProtoMessage()
- func (m *TraceSearchMetadata) Reset()
- func (m *TraceSearchMetadata) String() string
- func (m *TraceSearchMetadata) XXX_DiscardUnknown()
- func (m *TraceSearchMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceSearchMetadata) XXX_Merge(src proto.Message)
- func (m *TraceSearchMetadata) XXX_Size() int
- func (m *TraceSearchMetadata) XXX_Unmarshal(b []byte) error
- type UnimplementedPusherServer
- type UnimplementedQuerierServer
- func (*UnimplementedQuerierServer) FindTraceByID(ctx context.Context, req *TraceByIDRequest) (*TraceByIDResponse, error)
- func (*UnimplementedQuerierServer) SearchBlock(ctx context.Context, req *SearchBlockRequest) (*SearchResponse, error)
- func (*UnimplementedQuerierServer) SearchRecent(ctx context.Context, req *SearchRequest) (*SearchResponse, error)
- func (*UnimplementedQuerierServer) SearchTagValues(ctx context.Context, req *SearchTagValuesRequest) (*SearchTagValuesResponse, error)
- func (*UnimplementedQuerierServer) SearchTags(ctx context.Context, req *SearchTagsRequest) (*SearchTagsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPusherServer ¶
func RegisterPusherServer(s *grpc.Server, srv PusherServer)
func RegisterQuerierServer ¶
func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)
func ReuseTraceBytes ¶
func ReuseTraceBytes(trace *TraceBytes)
ReuseTraceBytes puts the byte slice back into bytePool for reuse.
func SliceFromBytePool ¶
SliceFromBytePool gets a slice from the byte pool
Types ¶
type PreallocBytes ¶
type PreallocBytes struct {
Slice []byte
}
PreallocBytes is a (repeated bytes slices) which preallocs slices on Unmarshal.
func (*PreallocBytes) MarshalTo ¶
func (r *PreallocBytes) MarshalTo(dAtA []byte) (int, error)
MarshalTo implements proto.Marshaller. returned int is not used
func (*PreallocBytes) Unmarshal ¶
func (r *PreallocBytes) Unmarshal(dAtA []byte) error
Unmarshal implements proto.Message.
type PushBytesRequest ¶
type PushBytesRequest struct { // pre-marshalled Traces. length must match ids Traces []PreallocBytes `protobuf:"bytes,2,rep,name=traces,proto3,customtype=PreallocBytes" json:"traces"` // trace ids. length must match traces Ids []PreallocBytes `protobuf:"bytes,3,rep,name=ids,proto3,customtype=PreallocBytes" json:"ids"` // search data, length must match traces SearchData []PreallocBytes `protobuf:"bytes,4,rep,name=searchData,proto3,customtype=PreallocBytes" json:"searchData"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushBytesRequest) Descriptor ¶
func (*PushBytesRequest) Descriptor() ([]byte, []int)
func (*PushBytesRequest) ProtoMessage ¶
func (*PushBytesRequest) ProtoMessage()
func (*PushBytesRequest) Reset ¶
func (m *PushBytesRequest) Reset()
func (*PushBytesRequest) String ¶
func (m *PushBytesRequest) String() string
func (*PushBytesRequest) XXX_DiscardUnknown ¶
func (m *PushBytesRequest) XXX_DiscardUnknown()
func (*PushBytesRequest) XXX_Marshal ¶
func (m *PushBytesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushBytesRequest) XXX_Merge ¶
func (m *PushBytesRequest) XXX_Merge(src proto.Message)
func (*PushBytesRequest) XXX_Size ¶
func (m *PushBytesRequest) XXX_Size() int
func (*PushBytesRequest) XXX_Unmarshal ¶
func (m *PushBytesRequest) XXX_Unmarshal(b []byte) error
type PushResponse ¶
type PushResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Write
func (*PushResponse) Descriptor ¶
func (*PushResponse) Descriptor() ([]byte, []int)
func (*PushResponse) ProtoMessage ¶
func (*PushResponse) ProtoMessage()
func (*PushResponse) Reset ¶
func (m *PushResponse) Reset()
func (*PushResponse) String ¶
func (m *PushResponse) String() string
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 {
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 {
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) SearchRecent(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) SearchBlock(ctx context.Context, in *SearchBlockRequest, opts ...grpc.CallOption) (*SearchResponse, error) SearchTags(ctx context.Context, in *SearchTagsRequest, opts ...grpc.CallOption) (*SearchTagsResponse, error) SearchTagValues(ctx context.Context, in *SearchTagValuesRequest, opts ...grpc.CallOption) (*SearchTagValuesResponse, 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) SearchRecent(context.Context, *SearchRequest) (*SearchResponse, error) SearchBlock(context.Context, *SearchBlockRequest) (*SearchResponse, error) SearchTags(context.Context, *SearchTagsRequest) (*SearchTagsResponse, error) SearchTagValues(context.Context, *SearchTagValuesRequest) (*SearchTagValuesResponse, error) }
QuerierServer is the server API for Querier service.
type SearchBlockRequest ¶
type SearchBlockRequest struct { SearchReq *SearchRequest `protobuf:"bytes,1,opt,name=searchReq,proto3" json:"searchReq,omitempty"` BlockID string `protobuf:"bytes,2,opt,name=blockID,proto3" json:"blockID,omitempty"` StartPage uint32 `protobuf:"varint,3,opt,name=startPage,proto3" json:"startPage,omitempty"` PagesToSearch uint32 `protobuf:"varint,4,opt,name=pagesToSearch,proto3" json:"pagesToSearch,omitempty"` Encoding string `protobuf:"bytes,5,opt,name=encoding,proto3" json:"encoding,omitempty"` IndexPageSize uint32 `protobuf:"varint,6,opt,name=indexPageSize,proto3" json:"indexPageSize,omitempty"` TotalRecords uint32 `protobuf:"varint,7,opt,name=totalRecords,proto3" json:"totalRecords,omitempty"` DataEncoding string `protobuf:"bytes,8,opt,name=dataEncoding,proto3" json:"dataEncoding,omitempty"` Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchBlockRequest takes SearchRequest parameters as well as all information necessary to search a block in the backend.
func (*SearchBlockRequest) Descriptor ¶
func (*SearchBlockRequest) Descriptor() ([]byte, []int)
func (*SearchBlockRequest) GetBlockID ¶
func (m *SearchBlockRequest) GetBlockID() string
func (*SearchBlockRequest) GetDataEncoding ¶
func (m *SearchBlockRequest) GetDataEncoding() string
func (*SearchBlockRequest) GetEncoding ¶
func (m *SearchBlockRequest) GetEncoding() string
func (*SearchBlockRequest) GetIndexPageSize ¶
func (m *SearchBlockRequest) GetIndexPageSize() uint32
func (*SearchBlockRequest) GetPagesToSearch ¶
func (m *SearchBlockRequest) GetPagesToSearch() uint32
func (*SearchBlockRequest) GetSearchReq ¶
func (m *SearchBlockRequest) GetSearchReq() *SearchRequest
func (*SearchBlockRequest) GetStartPage ¶
func (m *SearchBlockRequest) GetStartPage() uint32
func (*SearchBlockRequest) GetTotalRecords ¶
func (m *SearchBlockRequest) GetTotalRecords() uint32
func (*SearchBlockRequest) GetVersion ¶
func (m *SearchBlockRequest) GetVersion() string
func (*SearchBlockRequest) ProtoMessage ¶
func (*SearchBlockRequest) ProtoMessage()
func (*SearchBlockRequest) Reset ¶
func (m *SearchBlockRequest) Reset()
func (*SearchBlockRequest) String ¶
func (m *SearchBlockRequest) String() string
func (*SearchBlockRequest) XXX_DiscardUnknown ¶
func (m *SearchBlockRequest) XXX_DiscardUnknown()
func (*SearchBlockRequest) XXX_Marshal ¶
func (m *SearchBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchBlockRequest) XXX_Merge ¶
func (m *SearchBlockRequest) XXX_Merge(src proto.Message)
func (*SearchBlockRequest) XXX_Size ¶
func (m *SearchBlockRequest) XXX_Size() int
func (*SearchBlockRequest) XXX_Unmarshal ¶
func (m *SearchBlockRequest) XXX_Unmarshal(b []byte) error
type SearchMetrics ¶
type SearchMetrics struct { InspectedTraces uint32 `protobuf:"varint,1,opt,name=inspectedTraces,proto3" json:"inspectedTraces,omitempty"` InspectedBytes uint64 `protobuf:"varint,2,opt,name=inspectedBytes,proto3" json:"inspectedBytes,omitempty"` InspectedBlocks uint32 `protobuf:"varint,3,opt,name=inspectedBlocks,proto3" json:"inspectedBlocks,omitempty"` SkippedBlocks uint32 `protobuf:"varint,4,opt,name=skippedBlocks,proto3" json:"skippedBlocks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchMetrics) Descriptor ¶
func (*SearchMetrics) Descriptor() ([]byte, []int)
func (*SearchMetrics) GetInspectedBlocks ¶
func (m *SearchMetrics) GetInspectedBlocks() uint32
func (*SearchMetrics) GetInspectedBytes ¶
func (m *SearchMetrics) GetInspectedBytes() uint64
func (*SearchMetrics) GetInspectedTraces ¶
func (m *SearchMetrics) GetInspectedTraces() uint32
func (*SearchMetrics) GetSkippedBlocks ¶
func (m *SearchMetrics) GetSkippedBlocks() uint32
func (*SearchMetrics) ProtoMessage ¶
func (*SearchMetrics) ProtoMessage()
func (*SearchMetrics) Reset ¶
func (m *SearchMetrics) Reset()
func (*SearchMetrics) String ¶
func (m *SearchMetrics) String() string
func (*SearchMetrics) XXX_DiscardUnknown ¶
func (m *SearchMetrics) XXX_DiscardUnknown()
func (*SearchMetrics) XXX_Marshal ¶
func (m *SearchMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchMetrics) XXX_Merge ¶
func (m *SearchMetrics) XXX_Merge(src proto.Message)
func (*SearchMetrics) XXX_Size ¶
func (m *SearchMetrics) XXX_Size() int
func (*SearchMetrics) XXX_Unmarshal ¶
func (m *SearchMetrics) XXX_Unmarshal(b []byte) error
type SearchRequest ¶
type SearchRequest struct { // case insensitive partial match Tags map[string]string `` /* 139-byte string literal not displayed */ MinDurationMs uint32 `protobuf:"varint,2,opt,name=MinDurationMs,proto3" json:"MinDurationMs,omitempty"` MaxDurationMs uint32 `protobuf:"varint,3,opt,name=MaxDurationMs,proto3" json:"MaxDurationMs,omitempty"` Limit uint32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"` Start uint32 `protobuf:"varint,5,opt,name=start,proto3" json:"start,omitempty"` End uint32 `protobuf:"varint,6,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchRequest takes no block parameters and implies a "recent traces" search
func (*SearchRequest) Descriptor ¶
func (*SearchRequest) Descriptor() ([]byte, []int)
func (*SearchRequest) GetEnd ¶
func (m *SearchRequest) GetEnd() uint32
func (*SearchRequest) GetLimit ¶
func (m *SearchRequest) GetLimit() uint32
func (*SearchRequest) GetMaxDurationMs ¶
func (m *SearchRequest) GetMaxDurationMs() uint32
func (*SearchRequest) GetMinDurationMs ¶
func (m *SearchRequest) GetMinDurationMs() uint32
func (*SearchRequest) GetStart ¶
func (m *SearchRequest) GetStart() uint32
func (*SearchRequest) GetTags ¶
func (m *SearchRequest) GetTags() map[string]string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) Reset ¶
func (m *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (m *SearchRequest) String() string
func (*SearchRequest) XXX_DiscardUnknown ¶
func (m *SearchRequest) XXX_DiscardUnknown()
func (*SearchRequest) XXX_Marshal ¶
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchRequest) XXX_Merge ¶
func (m *SearchRequest) XXX_Merge(src proto.Message)
func (*SearchRequest) XXX_Size ¶
func (m *SearchRequest) XXX_Size() int
func (*SearchRequest) XXX_Unmarshal ¶
func (m *SearchRequest) XXX_Unmarshal(b []byte) error
type SearchResponse ¶
type SearchResponse struct { Traces []*TraceSearchMetadata `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` Metrics *SearchMetrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchResponse) Descriptor ¶
func (*SearchResponse) Descriptor() ([]byte, []int)
func (*SearchResponse) GetMetrics ¶
func (m *SearchResponse) GetMetrics() *SearchMetrics
func (*SearchResponse) GetTraces ¶
func (m *SearchResponse) GetTraces() []*TraceSearchMetadata
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) Reset ¶
func (m *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (m *SearchResponse) String() string
func (*SearchResponse) XXX_DiscardUnknown ¶
func (m *SearchResponse) XXX_DiscardUnknown()
func (*SearchResponse) XXX_Marshal ¶
func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResponse) XXX_Merge ¶
func (m *SearchResponse) XXX_Merge(src proto.Message)
func (*SearchResponse) XXX_Size ¶
func (m *SearchResponse) XXX_Size() int
func (*SearchResponse) XXX_Unmarshal ¶
func (m *SearchResponse) XXX_Unmarshal(b []byte) error
type SearchTagValuesRequest ¶
type SearchTagValuesRequest struct { TagName string `protobuf:"bytes,1,opt,name=tagName,proto3" json:"tagName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchTagValuesRequest) Descriptor ¶
func (*SearchTagValuesRequest) Descriptor() ([]byte, []int)
func (*SearchTagValuesRequest) GetTagName ¶
func (m *SearchTagValuesRequest) GetTagName() string
func (*SearchTagValuesRequest) ProtoMessage ¶
func (*SearchTagValuesRequest) ProtoMessage()
func (*SearchTagValuesRequest) Reset ¶
func (m *SearchTagValuesRequest) Reset()
func (*SearchTagValuesRequest) String ¶
func (m *SearchTagValuesRequest) String() string
func (*SearchTagValuesRequest) XXX_DiscardUnknown ¶
func (m *SearchTagValuesRequest) XXX_DiscardUnknown()
func (*SearchTagValuesRequest) XXX_Marshal ¶
func (m *SearchTagValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchTagValuesRequest) XXX_Merge ¶
func (m *SearchTagValuesRequest) XXX_Merge(src proto.Message)
func (*SearchTagValuesRequest) XXX_Size ¶
func (m *SearchTagValuesRequest) XXX_Size() int
func (*SearchTagValuesRequest) XXX_Unmarshal ¶
func (m *SearchTagValuesRequest) XXX_Unmarshal(b []byte) error
type SearchTagValuesResponse ¶
type SearchTagValuesResponse struct { TagValues []string `protobuf:"bytes,1,rep,name=tagValues,proto3" json:"tagValues,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchTagValuesResponse) Descriptor ¶
func (*SearchTagValuesResponse) Descriptor() ([]byte, []int)
func (*SearchTagValuesResponse) GetTagValues ¶
func (m *SearchTagValuesResponse) GetTagValues() []string
func (*SearchTagValuesResponse) ProtoMessage ¶
func (*SearchTagValuesResponse) ProtoMessage()
func (*SearchTagValuesResponse) Reset ¶
func (m *SearchTagValuesResponse) Reset()
func (*SearchTagValuesResponse) String ¶
func (m *SearchTagValuesResponse) String() string
func (*SearchTagValuesResponse) XXX_DiscardUnknown ¶
func (m *SearchTagValuesResponse) XXX_DiscardUnknown()
func (*SearchTagValuesResponse) XXX_Marshal ¶
func (m *SearchTagValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchTagValuesResponse) XXX_Merge ¶
func (m *SearchTagValuesResponse) XXX_Merge(src proto.Message)
func (*SearchTagValuesResponse) XXX_Size ¶
func (m *SearchTagValuesResponse) XXX_Size() int
func (*SearchTagValuesResponse) XXX_Unmarshal ¶
func (m *SearchTagValuesResponse) XXX_Unmarshal(b []byte) error
type SearchTagsRequest ¶
type SearchTagsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchTagsRequest) Descriptor ¶
func (*SearchTagsRequest) Descriptor() ([]byte, []int)
func (*SearchTagsRequest) ProtoMessage ¶
func (*SearchTagsRequest) ProtoMessage()
func (*SearchTagsRequest) Reset ¶
func (m *SearchTagsRequest) Reset()
func (*SearchTagsRequest) String ¶
func (m *SearchTagsRequest) String() string
func (*SearchTagsRequest) XXX_DiscardUnknown ¶
func (m *SearchTagsRequest) XXX_DiscardUnknown()
func (*SearchTagsRequest) XXX_Marshal ¶
func (m *SearchTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchTagsRequest) XXX_Merge ¶
func (m *SearchTagsRequest) XXX_Merge(src proto.Message)
func (*SearchTagsRequest) XXX_Size ¶
func (m *SearchTagsRequest) XXX_Size() int
func (*SearchTagsRequest) XXX_Unmarshal ¶
func (m *SearchTagsRequest) XXX_Unmarshal(b []byte) error
type SearchTagsResponse ¶
type SearchTagsResponse struct { TagNames []string `protobuf:"bytes,1,rep,name=tagNames,proto3" json:"tagNames,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchTagsResponse) Descriptor ¶
func (*SearchTagsResponse) Descriptor() ([]byte, []int)
func (*SearchTagsResponse) GetTagNames ¶
func (m *SearchTagsResponse) GetTagNames() []string
func (*SearchTagsResponse) ProtoMessage ¶
func (*SearchTagsResponse) ProtoMessage()
func (*SearchTagsResponse) Reset ¶
func (m *SearchTagsResponse) Reset()
func (*SearchTagsResponse) String ¶
func (m *SearchTagsResponse) String() string
func (*SearchTagsResponse) XXX_DiscardUnknown ¶
func (m *SearchTagsResponse) XXX_DiscardUnknown()
func (*SearchTagsResponse) XXX_Marshal ¶
func (m *SearchTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchTagsResponse) XXX_Merge ¶
func (m *SearchTagsResponse) XXX_Merge(src proto.Message)
func (*SearchTagsResponse) XXX_Size ¶
func (m *SearchTagsResponse) XXX_Size() int
func (*SearchTagsResponse) XXX_Unmarshal ¶
func (m *SearchTagsResponse) XXX_Unmarshal(b []byte) error
type Trace ¶
type Trace struct { Batches []*v1.ResourceSpans `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 TraceByIDMetrics ¶
type TraceByIDMetrics struct { FailedBlocks uint32 `protobuf:"varint,1,opt,name=failedBlocks,proto3" json:"failedBlocks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TraceByIDMetrics) Descriptor ¶
func (*TraceByIDMetrics) Descriptor() ([]byte, []int)
func (*TraceByIDMetrics) GetFailedBlocks ¶
func (m *TraceByIDMetrics) GetFailedBlocks() uint32
func (*TraceByIDMetrics) ProtoMessage ¶
func (*TraceByIDMetrics) ProtoMessage()
func (*TraceByIDMetrics) Reset ¶
func (m *TraceByIDMetrics) Reset()
func (*TraceByIDMetrics) String ¶
func (m *TraceByIDMetrics) String() string
func (*TraceByIDMetrics) XXX_DiscardUnknown ¶
func (m *TraceByIDMetrics) XXX_DiscardUnknown()
func (*TraceByIDMetrics) XXX_Marshal ¶
func (m *TraceByIDMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceByIDMetrics) XXX_Merge ¶
func (m *TraceByIDMetrics) XXX_Merge(src proto.Message)
func (*TraceByIDMetrics) XXX_Size ¶
func (m *TraceByIDMetrics) XXX_Size() int
func (*TraceByIDMetrics) XXX_Unmarshal ¶
func (m *TraceByIDMetrics) XXX_Unmarshal(b []byte) error
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"` QueryMode string `protobuf:"bytes,5,opt,name=queryMode,proto3" json:"queryMode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Read
func (*TraceByIDRequest) Descriptor ¶
func (*TraceByIDRequest) Descriptor() ([]byte, []int)
func (*TraceByIDRequest) GetBlockEnd ¶
func (m *TraceByIDRequest) GetBlockEnd() string
func (*TraceByIDRequest) GetBlockStart ¶
func (m *TraceByIDRequest) GetBlockStart() string
func (*TraceByIDRequest) GetQueryMode ¶
func (m *TraceByIDRequest) GetQueryMode() string
func (*TraceByIDRequest) GetTraceID ¶
func (m *TraceByIDRequest) GetTraceID() []byte
func (*TraceByIDRequest) ProtoMessage ¶
func (*TraceByIDRequest) ProtoMessage()
func (*TraceByIDRequest) Reset ¶
func (m *TraceByIDRequest) Reset()
func (*TraceByIDRequest) String ¶
func (m *TraceByIDRequest) String() string
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"` Metrics *TraceByIDMetrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TraceByIDResponse) Descriptor ¶
func (*TraceByIDResponse) Descriptor() ([]byte, []int)
func (*TraceByIDResponse) GetMetrics ¶
func (m *TraceByIDResponse) GetMetrics() *TraceByIDMetrics
func (*TraceByIDResponse) GetTrace ¶
func (m *TraceByIDResponse) GetTrace() *Trace
func (*TraceByIDResponse) ProtoMessage ¶
func (*TraceByIDResponse) ProtoMessage()
func (*TraceByIDResponse) Reset ¶
func (m *TraceByIDResponse) Reset()
func (*TraceByIDResponse) String ¶
func (m *TraceByIDResponse) String() string
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 TraceBytes ¶
type TraceBytes struct { // pre-marshalled Traces Traces [][]byte `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TraceBytes) Descriptor ¶
func (*TraceBytes) Descriptor() ([]byte, []int)
func (*TraceBytes) GetTraces ¶
func (m *TraceBytes) GetTraces() [][]byte
func (*TraceBytes) ProtoMessage ¶
func (*TraceBytes) ProtoMessage()
func (*TraceBytes) Reset ¶
func (m *TraceBytes) Reset()
func (*TraceBytes) String ¶
func (m *TraceBytes) String() string
func (*TraceBytes) XXX_DiscardUnknown ¶
func (m *TraceBytes) XXX_DiscardUnknown()
func (*TraceBytes) XXX_Marshal ¶
func (m *TraceBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceBytes) XXX_Merge ¶
func (m *TraceBytes) XXX_Merge(src proto.Message)
func (*TraceBytes) XXX_Size ¶
func (m *TraceBytes) XXX_Size() int
func (*TraceBytes) XXX_Unmarshal ¶
func (m *TraceBytes) XXX_Unmarshal(b []byte) error
type TraceSearchMetadata ¶
type TraceSearchMetadata struct { TraceID string `protobuf:"bytes,1,opt,name=traceID,proto3" json:"traceID,omitempty"` RootServiceName string `protobuf:"bytes,2,opt,name=rootServiceName,proto3" json:"rootServiceName,omitempty"` RootTraceName string `protobuf:"bytes,3,opt,name=rootTraceName,proto3" json:"rootTraceName,omitempty"` StartTimeUnixNano uint64 `protobuf:"varint,4,opt,name=startTimeUnixNano,proto3" json:"startTimeUnixNano,omitempty"` DurationMs uint32 `protobuf:"varint,5,opt,name=durationMs,proto3" json:"durationMs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TraceSearchMetadata) Descriptor ¶
func (*TraceSearchMetadata) Descriptor() ([]byte, []int)
func (*TraceSearchMetadata) GetDurationMs ¶
func (m *TraceSearchMetadata) GetDurationMs() uint32
func (*TraceSearchMetadata) GetRootServiceName ¶
func (m *TraceSearchMetadata) GetRootServiceName() string
func (*TraceSearchMetadata) GetRootTraceName ¶
func (m *TraceSearchMetadata) GetRootTraceName() string
func (*TraceSearchMetadata) GetStartTimeUnixNano ¶
func (m *TraceSearchMetadata) GetStartTimeUnixNano() uint64
func (*TraceSearchMetadata) GetTraceID ¶
func (m *TraceSearchMetadata) GetTraceID() string
func (*TraceSearchMetadata) ProtoMessage ¶
func (*TraceSearchMetadata) ProtoMessage()
func (*TraceSearchMetadata) Reset ¶
func (m *TraceSearchMetadata) Reset()
func (*TraceSearchMetadata) String ¶
func (m *TraceSearchMetadata) String() string
func (*TraceSearchMetadata) XXX_DiscardUnknown ¶
func (m *TraceSearchMetadata) XXX_DiscardUnknown()
func (*TraceSearchMetadata) XXX_Marshal ¶
func (m *TraceSearchMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceSearchMetadata) XXX_Merge ¶
func (m *TraceSearchMetadata) XXX_Merge(src proto.Message)
func (*TraceSearchMetadata) XXX_Size ¶
func (m *TraceSearchMetadata) XXX_Size() int
func (*TraceSearchMetadata) XXX_Unmarshal ¶
func (m *TraceSearchMetadata) XXX_Unmarshal(b []byte) error
type UnimplementedPusherServer ¶
type UnimplementedPusherServer struct { }
UnimplementedPusherServer can be embedded to have forward compatible implementations.
func (*UnimplementedPusherServer) PushBytes ¶
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)
func (*UnimplementedQuerierServer) SearchBlock ¶
func (*UnimplementedQuerierServer) SearchBlock(ctx context.Context, req *SearchBlockRequest) (*SearchResponse, error)
func (*UnimplementedQuerierServer) SearchRecent ¶
func (*UnimplementedQuerierServer) SearchRecent(ctx context.Context, req *SearchRequest) (*SearchResponse, error)
func (*UnimplementedQuerierServer) SearchTagValues ¶
func (*UnimplementedQuerierServer) SearchTagValues(ctx context.Context, req *SearchTagValuesRequest) (*SearchTagValuesResponse, error)
func (*UnimplementedQuerierServer) SearchTags ¶
func (*UnimplementedQuerierServer) SearchTags(ctx context.Context, req *SearchTagsRequest) (*SearchTagsResponse, error)