Documentation
¶
Index ¶
- Variables
- func RegisterIngesterServer(s *grpc.Server, srv IngesterServer)
- func RegisterPusherServer(s *grpc.Server, srv PusherServer)
- func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)
- type Chunk
- func (*Chunk) Descriptor() ([]byte, []int)
- func (this *Chunk) Equal(that interface{}) bool
- func (m *Chunk) GetData() []byte
- func (this *Chunk) GoString() string
- func (m *Chunk) Marshal() (dAtA []byte, err error)
- func (m *Chunk) MarshalTo(dAtA []byte) (int, error)
- func (m *Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chunk) ProtoMessage()
- func (m *Chunk) Reset()
- func (m *Chunk) Size() (n int)
- func (this *Chunk) String() string
- func (m *Chunk) Unmarshal(dAtA []byte) error
- func (m *Chunk) XXX_DiscardUnknown()
- func (m *Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chunk) XXX_Merge(src proto.Message)
- func (m *Chunk) XXX_Size() int
- func (m *Chunk) XXX_Unmarshal(b []byte) error
- type Direction
- type DroppedStream
- func (*DroppedStream) Descriptor() ([]byte, []int)
- func (this *DroppedStream) Equal(that interface{}) bool
- func (m *DroppedStream) GetFrom() time.Time
- func (m *DroppedStream) GetLabels() string
- func (m *DroppedStream) GetTo() time.Time
- func (this *DroppedStream) GoString() string
- func (m *DroppedStream) Marshal() (dAtA []byte, err error)
- func (m *DroppedStream) MarshalTo(dAtA []byte) (int, error)
- func (m *DroppedStream) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DroppedStream) ProtoMessage()
- func (m *DroppedStream) Reset()
- func (m *DroppedStream) Size() (n int)
- func (this *DroppedStream) String() string
- func (m *DroppedStream) Unmarshal(dAtA []byte) error
- func (m *DroppedStream) XXX_DiscardUnknown()
- func (m *DroppedStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DroppedStream) XXX_Merge(src proto.Message)
- func (m *DroppedStream) XXX_Size() int
- func (m *DroppedStream) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (this *Entry) Equal(that interface{}) bool
- func (m *Entry) GetLine() string
- func (m *Entry) GetTimestamp() time.Time
- func (this *Entry) GoString() string
- func (m *Entry) Marshal() (dAtA []byte, err error)
- func (m *Entry) MarshalTo(dAtA []byte) (int, error)
- func (m *Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) Size() (n int)
- func (this *Entry) String() string
- func (m *Entry) Unmarshal(dAtA []byte) error
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type IngesterClient
- type IngesterServer
- type Ingester_TransferChunksClient
- type Ingester_TransferChunksServer
- type LabelPair
- func (*LabelPair) Descriptor() ([]byte, []int)
- func (this *LabelPair) Equal(that interface{}) bool
- func (m *LabelPair) GetName() string
- func (m *LabelPair) GetValue() string
- func (this *LabelPair) GoString() string
- func (m *LabelPair) Marshal() (dAtA []byte, err error)
- func (m *LabelPair) MarshalTo(dAtA []byte) (int, error)
- func (m *LabelPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LabelPair) ProtoMessage()
- func (m *LabelPair) Reset()
- func (m *LabelPair) Size() (n int)
- func (this *LabelPair) String() string
- func (m *LabelPair) Unmarshal(dAtA []byte) error
- func (m *LabelPair) XXX_DiscardUnknown()
- func (m *LabelPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LabelPair) XXX_Merge(src proto.Message)
- func (m *LabelPair) XXX_Size() int
- func (m *LabelPair) XXX_Unmarshal(b []byte) error
- type LabelRequest
- func (*LabelRequest) Descriptor() ([]byte, []int)
- func (this *LabelRequest) Equal(that interface{}) bool
- func (m *LabelRequest) GetEnd() *time.Time
- func (m *LabelRequest) GetName() string
- func (m *LabelRequest) GetStart() *time.Time
- func (m *LabelRequest) GetValues() bool
- func (this *LabelRequest) GoString() string
- func (m *LabelRequest) Marshal() (dAtA []byte, err error)
- func (m *LabelRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LabelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LabelRequest) ProtoMessage()
- func (m *LabelRequest) Reset()
- func (m *LabelRequest) Size() (n int)
- func (this *LabelRequest) String() string
- func (m *LabelRequest) Unmarshal(dAtA []byte) error
- func (m *LabelRequest) XXX_DiscardUnknown()
- func (m *LabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LabelRequest) XXX_Merge(src proto.Message)
- func (m *LabelRequest) XXX_Size() int
- func (m *LabelRequest) XXX_Unmarshal(b []byte) error
- type LabelResponse
- func (*LabelResponse) Descriptor() ([]byte, []int)
- func (this *LabelResponse) Equal(that interface{}) bool
- func (m *LabelResponse) GetValues() []string
- func (this *LabelResponse) GoString() string
- func (m *LabelResponse) Marshal() (dAtA []byte, err error)
- func (m *LabelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LabelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LabelResponse) ProtoMessage()
- func (m *LabelResponse) Reset()
- func (m *LabelResponse) Size() (n int)
- func (this *LabelResponse) String() string
- func (m *LabelResponse) Unmarshal(dAtA []byte) error
- func (m *LabelResponse) XXX_DiscardUnknown()
- func (m *LabelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LabelResponse) XXX_Merge(src proto.Message)
- func (m *LabelResponse) XXX_Size() int
- func (m *LabelResponse) XXX_Unmarshal(b []byte) error
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)
- func (this *PushRequest) Equal(that interface{}) bool
- func (m *PushRequest) GetStreams() []*Stream
- func (this *PushRequest) GoString() string
- 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 (this *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 (this *PushResponse) Equal(that interface{}) bool
- func (this *PushResponse) GoString() string
- 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 (this *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 Querier_QueryClient
- type Querier_QueryServer
- type Querier_TailClient
- type Querier_TailServer
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)
- func (this *QueryRequest) Equal(that interface{}) bool
- func (m *QueryRequest) GetDirection() Direction
- func (m *QueryRequest) GetEnd() time.Time
- func (m *QueryRequest) GetLimit() uint32
- func (m *QueryRequest) GetSelector() string
- func (m *QueryRequest) GetStart() time.Time
- func (this *QueryRequest) GoString() string
- func (m *QueryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRequest) ProtoMessage()
- func (m *QueryRequest) Reset()
- func (m *QueryRequest) Size() (n int)
- func (this *QueryRequest) String() string
- func (m *QueryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRequest) XXX_DiscardUnknown()
- func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRequest) XXX_Merge(src proto.Message)
- func (m *QueryRequest) XXX_Size() int
- func (m *QueryRequest) XXX_Unmarshal(b []byte) error
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)
- func (this *QueryResponse) Equal(that interface{}) bool
- func (m *QueryResponse) GetStreams() []*Stream
- func (this *QueryResponse) GoString() string
- func (m *QueryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResponse) ProtoMessage()
- func (m *QueryResponse) Reset()
- func (m *QueryResponse) Size() (n int)
- func (this *QueryResponse) String() string
- func (m *QueryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResponse) XXX_DiscardUnknown()
- func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResponse) XXX_Merge(src proto.Message)
- func (m *QueryResponse) XXX_Size() int
- func (m *QueryResponse) XXX_Unmarshal(b []byte) error
- type Stream
- func (*Stream) Descriptor() ([]byte, []int)
- func (this *Stream) Equal(that interface{}) bool
- func (m *Stream) GetEntries() []Entry
- func (m *Stream) GetLabels() string
- func (this *Stream) GoString() string
- func (m *Stream) Marshal() (dAtA []byte, err error)
- func (m *Stream) MarshalTo(dAtA []byte) (int, error)
- func (m *Stream) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Stream) ProtoMessage()
- func (m *Stream) Reset()
- func (m *Stream) Size() (n int)
- func (this *Stream) String() string
- func (m *Stream) Unmarshal(dAtA []byte) error
- func (m *Stream) XXX_DiscardUnknown()
- func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stream) XXX_Merge(src proto.Message)
- func (m *Stream) XXX_Size() int
- func (m *Stream) XXX_Unmarshal(b []byte) error
- type TailRequest
- func (*TailRequest) Descriptor() ([]byte, []int)
- func (this *TailRequest) Equal(that interface{}) bool
- func (m *TailRequest) GetDelayFor() uint32
- func (m *TailRequest) GetLimit() uint32
- func (m *TailRequest) GetQuery() string
- func (m *TailRequest) GetStart() time.Time
- func (this *TailRequest) GoString() string
- func (m *TailRequest) Marshal() (dAtA []byte, err error)
- func (m *TailRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TailRequest) ProtoMessage()
- func (m *TailRequest) Reset()
- func (m *TailRequest) Size() (n int)
- func (this *TailRequest) String() string
- func (m *TailRequest) Unmarshal(dAtA []byte) error
- func (m *TailRequest) XXX_DiscardUnknown()
- func (m *TailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TailRequest) XXX_Merge(src proto.Message)
- func (m *TailRequest) XXX_Size() int
- func (m *TailRequest) XXX_Unmarshal(b []byte) error
- type TailResponse
- func (*TailResponse) Descriptor() ([]byte, []int)
- func (this *TailResponse) Equal(that interface{}) bool
- func (m *TailResponse) GetDroppedStreams() []*DroppedStream
- func (m *TailResponse) GetStream() *Stream
- func (this *TailResponse) GoString() string
- func (m *TailResponse) Marshal() (dAtA []byte, err error)
- func (m *TailResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TailResponse) ProtoMessage()
- func (m *TailResponse) Reset()
- func (m *TailResponse) Size() (n int)
- func (this *TailResponse) String() string
- func (m *TailResponse) Unmarshal(dAtA []byte) error
- func (m *TailResponse) XXX_DiscardUnknown()
- func (m *TailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TailResponse) XXX_Merge(src proto.Message)
- func (m *TailResponse) XXX_Size() int
- func (m *TailResponse) XXX_Unmarshal(b []byte) error
- type TimeSeriesChunk
- func (*TimeSeriesChunk) Descriptor() ([]byte, []int)
- func (this *TimeSeriesChunk) Equal(that interface{}) bool
- func (m *TimeSeriesChunk) GetChunks() []*Chunk
- func (m *TimeSeriesChunk) GetFromIngesterId() string
- func (m *TimeSeriesChunk) GetLabels() []*LabelPair
- func (m *TimeSeriesChunk) GetUserId() string
- func (this *TimeSeriesChunk) GoString() string
- func (m *TimeSeriesChunk) Marshal() (dAtA []byte, err error)
- func (m *TimeSeriesChunk) MarshalTo(dAtA []byte) (int, error)
- func (m *TimeSeriesChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimeSeriesChunk) ProtoMessage()
- func (m *TimeSeriesChunk) Reset()
- func (m *TimeSeriesChunk) Size() (n int)
- func (this *TimeSeriesChunk) String() string
- func (m *TimeSeriesChunk) Unmarshal(dAtA []byte) error
- func (m *TimeSeriesChunk) XXX_DiscardUnknown()
- func (m *TimeSeriesChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeSeriesChunk) XXX_Merge(src proto.Message)
- func (m *TimeSeriesChunk) XXX_Size() int
- func (m *TimeSeriesChunk) XXX_Unmarshal(b []byte) error
- type TransferChunksResponse
- func (*TransferChunksResponse) Descriptor() ([]byte, []int)
- func (this *TransferChunksResponse) Equal(that interface{}) bool
- func (this *TransferChunksResponse) GoString() string
- func (m *TransferChunksResponse) Marshal() (dAtA []byte, err error)
- func (m *TransferChunksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferChunksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferChunksResponse) ProtoMessage()
- func (m *TransferChunksResponse) Reset()
- func (m *TransferChunksResponse) Size() (n int)
- func (this *TransferChunksResponse) String() string
- func (m *TransferChunksResponse) Unmarshal(dAtA []byte) error
- func (m *TransferChunksResponse) XXX_DiscardUnknown()
- func (m *TransferChunksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferChunksResponse) XXX_Merge(src proto.Message)
- func (m *TransferChunksResponse) XXX_Size() int
- func (m *TransferChunksResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedIngesterServer
- type UnimplementedPusherServer
- type UnimplementedQuerierServer
Constants ¶
This section is empty.
Variables ¶
var (
ErrInvalidLengthLogproto = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowLogproto = fmt.Errorf("proto: integer overflow")
)
var Direction_name = map[int32]string{
0: "FORWARD",
1: "BACKWARD",
}
var Direction_value = map[string]int32{
"FORWARD": 0,
"BACKWARD": 1,
}
Functions ¶
func RegisterIngesterServer ¶ added in v1.0.1
func RegisterIngesterServer(s *grpc.Server, srv IngesterServer)
func RegisterPusherServer ¶
func RegisterPusherServer(s *grpc.Server, srv PusherServer)
func RegisterQuerierServer ¶
func RegisterQuerierServer(s *grpc.Server, srv QuerierServer)
Types ¶
type Chunk ¶ added in v1.0.1
type Chunk struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Chunk) Descriptor ¶ added in v1.0.1
func (*Chunk) Descriptor() ([]byte, []int)
func (*Chunk) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Chunk) ProtoMessage ¶ added in v1.0.1
func (*Chunk) ProtoMessage()
func (*Chunk) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *Chunk) XXX_DiscardUnknown()
func (*Chunk) XXX_Marshal ¶ added in v1.0.1
func (m *Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Chunk) XXX_Unmarshal ¶ added in v1.0.1
func (m *Chunk) XXX_Unmarshal(b []byte) error
type Direction ¶
type Direction int32
const (
FORWARD Direction = 0
BACKWARD Direction = 1
)
func (Direction) EnumDescriptor ¶
func (Direction) EnumDescriptor() ([]byte, []int)
type DroppedStream ¶ added in v1.0.1
type DroppedStream struct {
From time.Time `protobuf:"bytes,1,opt,name=from,proto3,stdtime" json:"from"`
To time.Time `protobuf:"bytes,2,opt,name=to,proto3,stdtime" json:"to"`
Labels string `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
}
func (*DroppedStream) Descriptor ¶ added in v1.0.1
func (*DroppedStream) Descriptor() ([]byte, []int)
func (*DroppedStream) Equal ¶ added in v1.0.1
func (this *DroppedStream) Equal(that interface{}) bool
func (*DroppedStream) Marshal ¶ added in v1.0.1
func (m *DroppedStream) Marshal() (dAtA []byte, err error)
func (*DroppedStream) MarshalTo ¶ added in v1.0.1
func (m *DroppedStream) MarshalTo(dAtA []byte) (int, error)
func (*DroppedStream) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *DroppedStream) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DroppedStream) ProtoMessage ¶ added in v1.0.1
func (*DroppedStream) ProtoMessage()
func (*DroppedStream) Unmarshal ¶ added in v1.0.1
func (m *DroppedStream) Unmarshal(dAtA []byte) error
func (*DroppedStream) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *DroppedStream) XXX_DiscardUnknown()
func (*DroppedStream) XXX_Marshal ¶ added in v1.0.1
func (m *DroppedStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DroppedStream) XXX_Merge ¶ added in v1.0.1
func (m *DroppedStream) XXX_Merge(src proto.Message)
func (*DroppedStream) XXX_Unmarshal ¶ added in v1.0.1
func (m *DroppedStream) XXX_Unmarshal(b []byte) error
type Entry ¶
type Entry struct {
Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"ts"`
Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line"`
}
func (*Entry) Descriptor ¶
func (*Entry) Descriptor() ([]byte, []int)
func (*Entry) GetTimestamp ¶
func (m *Entry) GetTimestamp() time.Time
func (*Entry) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Entry) XXX_Unmarshal ¶
func (m *Entry) XXX_Unmarshal(b []byte) error
type IngesterClient ¶ added in v1.0.1
type IngesterClient interface {
TransferChunks(ctx context.Context, opts ...grpc.CallOption) (Ingester_TransferChunksClient, error)
}
IngesterClient is the client API for Ingester service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIngesterClient ¶ added in v1.0.1
func NewIngesterClient(cc *grpc.ClientConn) IngesterClient
type IngesterServer ¶ added in v1.0.1
type IngesterServer interface {
TransferChunks(Ingester_TransferChunksServer) error
}
IngesterServer is the server API for Ingester service.
type Ingester_TransferChunksClient ¶ added in v1.0.1
type Ingester_TransferChunksClient interface {
Send(*TimeSeriesChunk) error
CloseAndRecv() (*TransferChunksResponse, error)
grpc.ClientStream
}
type Ingester_TransferChunksServer ¶ added in v1.0.1
type Ingester_TransferChunksServer interface {
SendAndClose(*TransferChunksResponse) error
Recv() (*TimeSeriesChunk, error)
grpc.ServerStream
}
type LabelPair ¶ added in v1.0.1
type LabelPair struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
func (*LabelPair) Descriptor ¶ added in v1.0.1
func (*LabelPair) Descriptor() ([]byte, []int)
func (*LabelPair) MarshalTo ¶ added in v1.0.1
func (m *LabelPair) MarshalTo(dAtA []byte) (int, error)
func (*LabelPair) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *LabelPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LabelPair) ProtoMessage ¶ added in v1.0.1
func (*LabelPair) ProtoMessage()
func (*LabelPair) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *LabelPair) XXX_DiscardUnknown()
func (*LabelPair) XXX_Marshal ¶ added in v1.0.1
func (m *LabelPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelPair) XXX_Unmarshal ¶ added in v1.0.1
func (m *LabelPair) XXX_Unmarshal(b []byte) error
type LabelRequest ¶
type LabelRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Values bool `protobuf:"varint,2,opt,name=values,proto3" json:"values,omitempty"`
Start *time.Time `protobuf:"bytes,3,opt,name=start,proto3,stdtime" json:"start,omitempty"`
End *time.Time `protobuf:"bytes,4,opt,name=end,proto3,stdtime" json:"end,omitempty"`
}
func (*LabelRequest) Descriptor ¶
func (*LabelRequest) Descriptor() ([]byte, []int)
func (*LabelRequest) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *LabelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LabelRequest) ProtoMessage ¶
func (*LabelRequest) ProtoMessage()
func (*LabelRequest) XXX_DiscardUnknown ¶
func (m *LabelRequest) XXX_DiscardUnknown()
func (*LabelRequest) XXX_Marshal ¶
func (m *LabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelRequest) XXX_Unmarshal ¶
func (m *LabelRequest) XXX_Unmarshal(b []byte) error
type LabelResponse ¶
type LabelResponse struct {
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
}
func (*LabelResponse) Descriptor ¶
func (*LabelResponse) Descriptor() ([]byte, []int)
func (*LabelResponse) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *LabelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LabelResponse) ProtoMessage ¶
func (*LabelResponse) ProtoMessage()
func (*LabelResponse) XXX_DiscardUnknown ¶
func (m *LabelResponse) XXX_DiscardUnknown()
func (*LabelResponse) XXX_Marshal ¶
func (m *LabelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelResponse) XXX_Unmarshal ¶
func (m *LabelResponse) XXX_Unmarshal(b []byte) error
type PushRequest ¶
type PushRequest struct {
Streams []*Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams"`
}
func (*PushRequest) Descriptor ¶
func (*PushRequest) Descriptor() ([]byte, []int)
func (*PushRequest) GetStreams ¶
func (m *PushRequest) GetStreams() []*Stream
func (*PushRequest) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *PushRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushRequest) ProtoMessage ¶
func (*PushRequest) ProtoMessage()
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_Unmarshal ¶
func (m *PushRequest) XXX_Unmarshal(b []byte) error
type PushResponse ¶
type PushResponse struct {
}
func (*PushResponse) Descriptor ¶
func (*PushResponse) Descriptor() ([]byte, []int)
func (*PushResponse) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *PushResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushResponse) ProtoMessage ¶
func (*PushResponse) ProtoMessage()
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_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 {
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (Querier_QueryClient, error)
Label(ctx context.Context, in *LabelRequest, opts ...grpc.CallOption) (*LabelResponse, error)
Tail(ctx context.Context, in *TailRequest, opts ...grpc.CallOption) (Querier_TailClient, 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 {
Query(*QueryRequest, Querier_QueryServer) error
Label(context.Context, *LabelRequest) (*LabelResponse, error)
Tail(*TailRequest, Querier_TailServer) error
}
QuerierServer is the server API for Querier service.
type Querier_QueryClient ¶
type Querier_QueryClient interface {
Recv() (*QueryResponse, error)
grpc.ClientStream
}
type Querier_QueryServer ¶
type Querier_QueryServer interface {
Send(*QueryResponse) error
grpc.ServerStream
}
type Querier_TailClient ¶ added in v1.0.1
type Querier_TailClient interface {
Recv() (*TailResponse, error)
grpc.ClientStream
}
type Querier_TailServer ¶ added in v1.0.1
type Querier_TailServer interface {
Send(*TailResponse) error
grpc.ServerStream
}
type QueryRequest ¶
type QueryRequest struct {
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Start time.Time `protobuf:"bytes,3,opt,name=start,proto3,stdtime" json:"start"`
End time.Time `protobuf:"bytes,4,opt,name=end,proto3,stdtime" json:"end"`
Direction Direction `protobuf:"varint,5,opt,name=direction,proto3,enum=logproto.Direction" json:"direction,omitempty"`
}
func (*QueryRequest) Descriptor ¶
func (*QueryRequest) Descriptor() ([]byte, []int)
func (*QueryRequest) GetDirection ¶
func (m *QueryRequest) GetDirection() Direction
func (*QueryRequest) GetSelector ¶ added in v1.0.1
func (m *QueryRequest) GetSelector() string
func (*QueryRequest) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *QueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) XXX_DiscardUnknown ¶
func (m *QueryRequest) XXX_DiscardUnknown()
func (*QueryRequest) XXX_Marshal ¶
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRequest) XXX_Unmarshal ¶
func (m *QueryRequest) XXX_Unmarshal(b []byte) error
type QueryResponse ¶
type QueryResponse struct {
Streams []*Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"`
}
func (*QueryResponse) Descriptor ¶
func (*QueryResponse) Descriptor() ([]byte, []int)
func (*QueryResponse) GetStreams ¶
func (m *QueryResponse) GetStreams() []*Stream
func (*QueryResponse) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *QueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) XXX_DiscardUnknown ¶
func (m *QueryResponse) XXX_DiscardUnknown()
func (*QueryResponse) XXX_Marshal ¶
func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResponse) XXX_Unmarshal ¶
func (m *QueryResponse) XXX_Unmarshal(b []byte) error
type Stream ¶
type Stream struct {
Labels string `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels"`
Entries []Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries"`
}
func (*Stream) Descriptor ¶
func (*Stream) Descriptor() ([]byte, []int)
func (*Stream) GetEntries ¶
func (m *Stream) GetEntries() []Entry
func (*Stream) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *Stream) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Stream) ProtoMessage ¶
func (*Stream) ProtoMessage()
func (*Stream) XXX_DiscardUnknown ¶
func (m *Stream) XXX_DiscardUnknown()
func (*Stream) XXX_Marshal ¶
func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Stream) XXX_Unmarshal ¶
func (m *Stream) XXX_Unmarshal(b []byte) error
type TailRequest ¶ added in v1.0.1
type TailRequest struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
DelayFor uint32 `protobuf:"varint,3,opt,name=delayFor,proto3" json:"delayFor,omitempty"`
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
Start time.Time `protobuf:"bytes,5,opt,name=start,proto3,stdtime" json:"start"`
}
func (*TailRequest) Descriptor ¶ added in v1.0.1
func (*TailRequest) Descriptor() ([]byte, []int)
func (*TailRequest) GetDelayFor ¶ added in v1.0.1
func (m *TailRequest) GetDelayFor() uint32
func (*TailRequest) Marshal ¶ added in v1.0.1
func (m *TailRequest) Marshal() (dAtA []byte, err error)
func (*TailRequest) MarshalTo ¶ added in v1.0.1
func (m *TailRequest) MarshalTo(dAtA []byte) (int, error)
func (*TailRequest) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *TailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TailRequest) ProtoMessage ¶ added in v1.0.1
func (*TailRequest) ProtoMessage()
func (*TailRequest) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *TailRequest) XXX_DiscardUnknown()
func (*TailRequest) XXX_Marshal ¶ added in v1.0.1
func (m *TailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TailRequest) XXX_Unmarshal ¶ added in v1.0.1
func (m *TailRequest) XXX_Unmarshal(b []byte) error
type TailResponse ¶ added in v1.0.1
type TailResponse struct {
Stream *Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
DroppedStreams []*DroppedStream `protobuf:"bytes,2,rep,name=droppedStreams,proto3" json:"droppedStreams,omitempty"`
}
func (*TailResponse) Descriptor ¶ added in v1.0.1
func (*TailResponse) Descriptor() ([]byte, []int)
func (*TailResponse) GetDroppedStreams ¶ added in v1.0.1
func (m *TailResponse) GetDroppedStreams() []*DroppedStream
func (*TailResponse) Marshal ¶ added in v1.0.1
func (m *TailResponse) Marshal() (dAtA []byte, err error)
func (*TailResponse) MarshalTo ¶ added in v1.0.1
func (m *TailResponse) MarshalTo(dAtA []byte) (int, error)
func (*TailResponse) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *TailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TailResponse) ProtoMessage ¶ added in v1.0.1
func (*TailResponse) ProtoMessage()
func (*TailResponse) Unmarshal ¶ added in v1.0.1
func (m *TailResponse) Unmarshal(dAtA []byte) error
func (*TailResponse) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *TailResponse) XXX_DiscardUnknown()
func (*TailResponse) XXX_Marshal ¶ added in v1.0.1
func (m *TailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TailResponse) XXX_Merge ¶ added in v1.0.1
func (m *TailResponse) XXX_Merge(src proto.Message)
func (*TailResponse) XXX_Unmarshal ¶ added in v1.0.1
func (m *TailResponse) XXX_Unmarshal(b []byte) error
type TimeSeriesChunk ¶ added in v1.0.1
type TimeSeriesChunk struct {
FromIngesterId string `protobuf:"bytes,1,opt,name=from_ingester_id,json=fromIngesterId,proto3" json:"from_ingester_id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Labels []*LabelPair `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
Chunks []*Chunk `protobuf:"bytes,4,rep,name=chunks,proto3" json:"chunks,omitempty"`
}
func (*TimeSeriesChunk) Descriptor ¶ added in v1.0.1
func (*TimeSeriesChunk) Descriptor() ([]byte, []int)
func (*TimeSeriesChunk) Equal ¶ added in v1.0.1
func (this *TimeSeriesChunk) Equal(that interface{}) bool
func (*TimeSeriesChunk) GetFromIngesterId ¶ added in v1.0.1
func (m *TimeSeriesChunk) GetFromIngesterId() string
func (*TimeSeriesChunk) GetLabels ¶ added in v1.0.1
func (m *TimeSeriesChunk) GetLabels() []*LabelPair
func (*TimeSeriesChunk) Marshal ¶ added in v1.0.1
func (m *TimeSeriesChunk) Marshal() (dAtA []byte, err error)
func (*TimeSeriesChunk) MarshalTo ¶ added in v1.0.1
func (m *TimeSeriesChunk) MarshalTo(dAtA []byte) (int, error)
func (*TimeSeriesChunk) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *TimeSeriesChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimeSeriesChunk) ProtoMessage ¶ added in v1.0.1
func (*TimeSeriesChunk) ProtoMessage()
func (*TimeSeriesChunk) Unmarshal ¶ added in v1.0.1
func (m *TimeSeriesChunk) Unmarshal(dAtA []byte) error
func (*TimeSeriesChunk) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *TimeSeriesChunk) XXX_DiscardUnknown()
func (*TimeSeriesChunk) XXX_Marshal ¶ added in v1.0.1
func (m *TimeSeriesChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeSeriesChunk) XXX_Merge ¶ added in v1.0.1
func (m *TimeSeriesChunk) XXX_Merge(src proto.Message)
func (*TimeSeriesChunk) XXX_Unmarshal ¶ added in v1.0.1
func (m *TimeSeriesChunk) XXX_Unmarshal(b []byte) error
type TransferChunksResponse ¶ added in v1.0.1
type TransferChunksResponse struct {
}
func (*TransferChunksResponse) Descriptor ¶ added in v1.0.1
func (*TransferChunksResponse) Descriptor() ([]byte, []int)
func (*TransferChunksResponse) Equal ¶ added in v1.0.1
func (this *TransferChunksResponse) Equal(that interface{}) bool
func (*TransferChunksResponse) GoString ¶ added in v1.0.1
func (this *TransferChunksResponse) GoString() string
func (*TransferChunksResponse) Marshal ¶ added in v1.0.1
func (m *TransferChunksResponse) Marshal() (dAtA []byte, err error)
func (*TransferChunksResponse) MarshalTo ¶ added in v1.0.1
func (m *TransferChunksResponse) MarshalTo(dAtA []byte) (int, error)
func (*TransferChunksResponse) MarshalToSizedBuffer ¶ added in v1.0.1
func (m *TransferChunksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferChunksResponse) ProtoMessage ¶ added in v1.0.1
func (*TransferChunksResponse) ProtoMessage()
func (*TransferChunksResponse) Size ¶ added in v1.0.1
func (m *TransferChunksResponse) Size() (n int)
func (*TransferChunksResponse) String ¶ added in v1.0.1
func (this *TransferChunksResponse) String() string
func (*TransferChunksResponse) Unmarshal ¶ added in v1.0.1
func (m *TransferChunksResponse) Unmarshal(dAtA []byte) error
func (*TransferChunksResponse) XXX_DiscardUnknown ¶ added in v1.0.1
func (m *TransferChunksResponse) XXX_DiscardUnknown()
func (*TransferChunksResponse) XXX_Marshal ¶ added in v1.0.1
func (m *TransferChunksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferChunksResponse) XXX_Merge ¶ added in v1.0.1
func (m *TransferChunksResponse) XXX_Merge(src proto.Message)
func (*TransferChunksResponse) XXX_Size ¶ added in v1.0.1
func (m *TransferChunksResponse) XXX_Size() int
func (*TransferChunksResponse) XXX_Unmarshal ¶ added in v1.0.1
func (m *TransferChunksResponse) XXX_Unmarshal(b []byte) error
type UnimplementedIngesterServer ¶ added in v1.0.1
type UnimplementedIngesterServer struct {
}
UnimplementedIngesterServer can be embedded to have forward compatible implementations.
func (*UnimplementedIngesterServer) TransferChunks ¶ added in v1.0.1
func (*UnimplementedIngesterServer) TransferChunks(srv Ingester_TransferChunksServer) error
type UnimplementedPusherServer ¶ added in v1.0.1
type UnimplementedPusherServer struct {
}
UnimplementedPusherServer can be embedded to have forward compatible implementations.
type UnimplementedQuerierServer ¶ added in v1.0.1
type UnimplementedQuerierServer struct {
}
UnimplementedQuerierServer can be embedded to have forward compatible implementations.
func (*UnimplementedQuerierServer) Label ¶ added in v1.0.1
func (*UnimplementedQuerierServer) Label(ctx context.Context, req *LabelRequest) (*LabelResponse, error)