Versions in this module Expand all Collapse all v1 v1.0.0 Feb 26, 2021 Changes in this version + var Chunk_Encoding_name = map[int32]string + var Chunk_Encoding_value = map[string]int32 + var ErrIntOverflowRemote = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthRemote = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupRemote = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var LabelMatcher_Type_name = map[int32]string + var LabelMatcher_Type_value = map[string]int32 + var ReadRequest_ResponseType_name = map[int32]string + var ReadRequest_ResponseType_value = map[string]int32 + type Chunk struct + Data []byte + MaxTimeMs int64 + MinTimeMs int64 + Type Chunk_Encoding + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Chunk) Descriptor() ([]byte, []int) + func (*Chunk) ProtoMessage() + func (m *Chunk) GetData() []byte + func (m *Chunk) GetMaxTimeMs() int64 + func (m *Chunk) GetMinTimeMs() int64 + func (m *Chunk) GetType() Chunk_Encoding + 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 (m *Chunk) Reset() + func (m *Chunk) Size() (n int) + func (m *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 Chunk_Encoding int32 + const Chunk_UNKNOWN + const Chunk_XOR + func (Chunk_Encoding) EnumDescriptor() ([]byte, []int) + func (x Chunk_Encoding) String() string + type ChunkedReadResponse struct + ChunkedSeries []*ChunkedSeries + QueryIndex int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChunkedReadResponse) Descriptor() ([]byte, []int) + func (*ChunkedReadResponse) ProtoMessage() + func (m *ChunkedReadResponse) GetChunkedSeries() []*ChunkedSeries + func (m *ChunkedReadResponse) GetQueryIndex() int64 + func (m *ChunkedReadResponse) Marshal() (dAtA []byte, err error) + func (m *ChunkedReadResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ChunkedReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ChunkedReadResponse) Reset() + func (m *ChunkedReadResponse) Size() (n int) + func (m *ChunkedReadResponse) String() string + func (m *ChunkedReadResponse) Unmarshal(dAtA []byte) error + func (m *ChunkedReadResponse) XXX_DiscardUnknown() + func (m *ChunkedReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChunkedReadResponse) XXX_Merge(src proto.Message) + func (m *ChunkedReadResponse) XXX_Size() int + func (m *ChunkedReadResponse) XXX_Unmarshal(b []byte) error + type ChunkedSeries struct + Chunks []Chunk + Labels []Label + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChunkedSeries) Descriptor() ([]byte, []int) + func (*ChunkedSeries) ProtoMessage() + func (m *ChunkedSeries) GetChunks() []Chunk + func (m *ChunkedSeries) GetLabels() []Label + func (m *ChunkedSeries) Marshal() (dAtA []byte, err error) + func (m *ChunkedSeries) MarshalTo(dAtA []byte) (int, error) + func (m *ChunkedSeries) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ChunkedSeries) Reset() + func (m *ChunkedSeries) Size() (n int) + func (m *ChunkedSeries) String() string + func (m *ChunkedSeries) Unmarshal(dAtA []byte) error + func (m *ChunkedSeries) XXX_DiscardUnknown() + func (m *ChunkedSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChunkedSeries) XXX_Merge(src proto.Message) + func (m *ChunkedSeries) XXX_Size() int + func (m *ChunkedSeries) XXX_Unmarshal(b []byte) error + type Label struct + Name string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Label) Descriptor() ([]byte, []int) + func (*Label) ProtoMessage() + func (m *Label) GetName() string + func (m *Label) GetValue() string + func (m *Label) Marshal() (dAtA []byte, err error) + func (m *Label) MarshalTo(dAtA []byte) (int, error) + func (m *Label) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Label) Reset() + func (m *Label) Size() (n int) + func (m *Label) String() string + func (m *Label) Unmarshal(dAtA []byte) error + func (m *Label) XXX_DiscardUnknown() + func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Label) XXX_Merge(src proto.Message) + func (m *Label) XXX_Size() int + func (m *Label) XXX_Unmarshal(b []byte) error + type LabelMatcher struct + Name string + Type LabelMatcher_Type + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LabelMatcher) Descriptor() ([]byte, []int) + func (*LabelMatcher) ProtoMessage() + func (m *LabelMatcher) GetName() string + func (m *LabelMatcher) GetType() LabelMatcher_Type + func (m *LabelMatcher) GetValue() string + func (m *LabelMatcher) Marshal() (dAtA []byte, err error) + func (m *LabelMatcher) MarshalTo(dAtA []byte) (int, error) + func (m *LabelMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LabelMatcher) Reset() + func (m *LabelMatcher) Size() (n int) + func (m *LabelMatcher) String() string + func (m *LabelMatcher) Unmarshal(dAtA []byte) error + func (m *LabelMatcher) XXX_DiscardUnknown() + func (m *LabelMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LabelMatcher) XXX_Merge(src proto.Message) + func (m *LabelMatcher) XXX_Size() int + func (m *LabelMatcher) XXX_Unmarshal(b []byte) error + type LabelMatcher_Type int32 + const LabelMatcher_EQ + const LabelMatcher_NEQ + const LabelMatcher_NRE + const LabelMatcher_RE + func (LabelMatcher_Type) EnumDescriptor() ([]byte, []int) + func (x LabelMatcher_Type) String() string + type Labels struct + Labels []Label + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Labels) Descriptor() ([]byte, []int) + func (*Labels) ProtoMessage() + func (m *Labels) GetLabels() []Label + func (m *Labels) Marshal() (dAtA []byte, err error) + func (m *Labels) MarshalTo(dAtA []byte) (int, error) + func (m *Labels) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Labels) Reset() + func (m *Labels) Size() (n int) + func (m *Labels) String() string + func (m *Labels) Unmarshal(dAtA []byte) error + func (m *Labels) XXX_DiscardUnknown() + func (m *Labels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Labels) XXX_Merge(src proto.Message) + func (m *Labels) XXX_Size() int + func (m *Labels) XXX_Unmarshal(b []byte) error + type Query struct + EndTimestampMs int64 + Hints *ReadHints + Matchers []*LabelMatcher + StartTimestampMs int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (m *Query) GetEndTimestampMs() int64 + func (m *Query) GetHints() *ReadHints + func (m *Query) GetMatchers() []*LabelMatcher + func (m *Query) GetStartTimestampMs() int64 + func (m *Query) Marshal() (dAtA []byte, err error) + func (m *Query) MarshalTo(dAtA []byte) (int, error) + func (m *Query) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Query) Reset() + func (m *Query) Size() (n int) + func (m *Query) String() string + func (m *Query) Unmarshal(dAtA []byte) error + func (m *Query) XXX_DiscardUnknown() + func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Query) XXX_Merge(src proto.Message) + func (m *Query) XXX_Size() int + func (m *Query) XXX_Unmarshal(b []byte) error + type QueryResult struct + Timeseries []*TimeSeries + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryResult) Descriptor() ([]byte, []int) + func (*QueryResult) ProtoMessage() + func (m *QueryResult) GetTimeseries() []*TimeSeries + func (m *QueryResult) Marshal() (dAtA []byte, err error) + func (m *QueryResult) MarshalTo(dAtA []byte) (int, error) + func (m *QueryResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryResult) Reset() + func (m *QueryResult) Size() (n int) + func (m *QueryResult) String() string + func (m *QueryResult) Unmarshal(dAtA []byte) error + func (m *QueryResult) XXX_DiscardUnknown() + func (m *QueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryResult) XXX_Merge(src proto.Message) + func (m *QueryResult) XXX_Size() int + func (m *QueryResult) XXX_Unmarshal(b []byte) error + type ReadHints struct + By bool + EndMs int64 + Func string + Grouping []string + RangeMs int64 + StartMs int64 + StepMs int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadHints) Descriptor() ([]byte, []int) + func (*ReadHints) ProtoMessage() + func (m *ReadHints) GetBy() bool + func (m *ReadHints) GetEndMs() int64 + func (m *ReadHints) GetFunc() string + func (m *ReadHints) GetGrouping() []string + func (m *ReadHints) GetRangeMs() int64 + func (m *ReadHints) GetStartMs() int64 + func (m *ReadHints) GetStepMs() int64 + func (m *ReadHints) Marshal() (dAtA []byte, err error) + func (m *ReadHints) MarshalTo(dAtA []byte) (int, error) + func (m *ReadHints) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ReadHints) Reset() + func (m *ReadHints) Size() (n int) + func (m *ReadHints) String() string + func (m *ReadHints) Unmarshal(dAtA []byte) error + func (m *ReadHints) XXX_DiscardUnknown() + func (m *ReadHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadHints) XXX_Merge(src proto.Message) + func (m *ReadHints) XXX_Size() int + func (m *ReadHints) XXX_Unmarshal(b []byte) error + type ReadRequest struct + AcceptedResponseTypes []ReadRequest_ResponseType + Queries []*Query + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadRequest) Descriptor() ([]byte, []int) + func (*ReadRequest) ProtoMessage() + func (m *ReadRequest) GetAcceptedResponseTypes() []ReadRequest_ResponseType + func (m *ReadRequest) GetQueries() []*Query + func (m *ReadRequest) Marshal() (dAtA []byte, err error) + func (m *ReadRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ReadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ReadRequest) Reset() + func (m *ReadRequest) Size() (n int) + func (m *ReadRequest) String() string + func (m *ReadRequest) Unmarshal(dAtA []byte) error + func (m *ReadRequest) XXX_DiscardUnknown() + func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadRequest) XXX_Merge(src proto.Message) + func (m *ReadRequest) XXX_Size() int + func (m *ReadRequest) XXX_Unmarshal(b []byte) error + type ReadRequest_ResponseType int32 + const ReadRequest_SAMPLES + const ReadRequest_STREAMED_XOR_CHUNKS + func (ReadRequest_ResponseType) EnumDescriptor() ([]byte, []int) + func (x ReadRequest_ResponseType) String() string + type ReadResponse struct + Results []*QueryResult + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReadResponse) Descriptor() ([]byte, []int) + func (*ReadResponse) ProtoMessage() + func (m *ReadResponse) GetResults() []*QueryResult + func (m *ReadResponse) Marshal() (dAtA []byte, err error) + func (m *ReadResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ReadResponse) Reset() + func (m *ReadResponse) Size() (n int) + func (m *ReadResponse) String() string + func (m *ReadResponse) Unmarshal(dAtA []byte) error + func (m *ReadResponse) XXX_DiscardUnknown() + func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReadResponse) XXX_Merge(src proto.Message) + func (m *ReadResponse) XXX_Size() int + func (m *ReadResponse) XXX_Unmarshal(b []byte) error + type Sample struct + Timestamp int64 + Value float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Sample) Descriptor() ([]byte, []int) + func (*Sample) ProtoMessage() + func (m *Sample) GetTimestamp() int64 + func (m *Sample) GetValue() float64 + func (m *Sample) Marshal() (dAtA []byte, err error) + func (m *Sample) MarshalTo(dAtA []byte) (int, error) + func (m *Sample) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Sample) Reset() + func (m *Sample) Size() (n int) + func (m *Sample) String() string + func (m *Sample) Unmarshal(dAtA []byte) error + func (m *Sample) XXX_DiscardUnknown() + func (m *Sample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Sample) XXX_Merge(src proto.Message) + func (m *Sample) XXX_Size() int + func (m *Sample) XXX_Unmarshal(b []byte) error + func (m Sample) T() int64 + func (m Sample) V() float64 + type TimeSeries struct + Labels []Label + Samples []Sample + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TimeSeries) Descriptor() ([]byte, []int) + func (*TimeSeries) ProtoMessage() + func (m *TimeSeries) GetLabels() []Label + func (m *TimeSeries) GetSamples() []Sample + func (m *TimeSeries) Marshal() (dAtA []byte, err error) + func (m *TimeSeries) MarshalTo(dAtA []byte) (int, error) + func (m *TimeSeries) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TimeSeries) Reset() + func (m *TimeSeries) Size() (n int) + func (m *TimeSeries) String() string + func (m *TimeSeries) Unmarshal(dAtA []byte) error + func (m *TimeSeries) XXX_DiscardUnknown() + func (m *TimeSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TimeSeries) XXX_Merge(src proto.Message) + func (m *TimeSeries) XXX_Size() int + func (m *TimeSeries) XXX_Unmarshal(b []byte) error + type WriteRequest struct + Timeseries []TimeSeries + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*WriteRequest) Descriptor() ([]byte, []int) + func (*WriteRequest) ProtoMessage() + func (m *WriteRequest) GetTimeseries() []TimeSeries + func (m *WriteRequest) Marshal() (dAtA []byte, err error) + func (m *WriteRequest) MarshalTo(dAtA []byte) (int, error) + func (m *WriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WriteRequest) Reset() + func (m *WriteRequest) Size() (n int) + func (m *WriteRequest) String() string + func (m *WriteRequest) Unmarshal(dAtA []byte) error + func (m *WriteRequest) XXX_DiscardUnknown() + func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WriteRequest) XXX_Merge(src proto.Message) + func (m *WriteRequest) XXX_Size() int + func (m *WriteRequest) XXX_Unmarshal(b []byte) error