Versions in this module Expand all Collapse all v0 v0.26.0 Apr 9, 2022 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 MetricMetadata_MetricType_name = map[int32]string + var MetricMetadata_MetricType_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 + 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 + 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 []github_com_thanos_io_thanos_pkg_store_labelpb.ZLabel + func (*ChunkedSeries) Descriptor() ([]byte, []int) + func (*ChunkedSeries) ProtoMessage() + func (m *ChunkedSeries) GetChunks() []Chunk + 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 Exemplar struct + Labels []github_com_thanos_io_thanos_pkg_store_labelpb.ZLabel + Timestamp int64 + Value float64 + func (*Exemplar) Descriptor() ([]byte, []int) + func (*Exemplar) ProtoMessage() + func (m *Exemplar) GetTimestamp() int64 + func (m *Exemplar) GetValue() float64 + func (m *Exemplar) Marshal() (dAtA []byte, err error) + func (m *Exemplar) MarshalTo(dAtA []byte) (int, error) + func (m *Exemplar) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Exemplar) Reset() + func (m *Exemplar) Size() (n int) + func (m *Exemplar) String() string + func (m *Exemplar) Unmarshal(dAtA []byte) error + func (m *Exemplar) XXX_DiscardUnknown() + func (m *Exemplar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Exemplar) XXX_Merge(src proto.Message) + func (m *Exemplar) XXX_Size() int + func (m *Exemplar) XXX_Unmarshal(b []byte) error + type LabelMatcher struct + Name string + Type LabelMatcher_Type + Value string + 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 MetricMetadata struct + Help string + MetricFamilyName string + Type MetricMetadata_MetricType + Unit string + func (*MetricMetadata) Descriptor() ([]byte, []int) + func (*MetricMetadata) ProtoMessage() + func (m *MetricMetadata) GetHelp() string + func (m *MetricMetadata) GetMetricFamilyName() string + func (m *MetricMetadata) GetType() MetricMetadata_MetricType + func (m *MetricMetadata) GetUnit() string + func (m *MetricMetadata) Marshal() (dAtA []byte, err error) + func (m *MetricMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *MetricMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MetricMetadata) Reset() + func (m *MetricMetadata) Size() (n int) + func (m *MetricMetadata) String() string + func (m *MetricMetadata) Unmarshal(dAtA []byte) error + func (m *MetricMetadata) XXX_DiscardUnknown() + func (m *MetricMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MetricMetadata) XXX_Merge(src proto.Message) + func (m *MetricMetadata) XXX_Size() int + func (m *MetricMetadata) XXX_Unmarshal(b []byte) error + type MetricMetadata_MetricType int32 + const MetricMetadata_COUNTER + const MetricMetadata_GAUGE + const MetricMetadata_GAUGEHISTOGRAM + const MetricMetadata_HISTOGRAM + const MetricMetadata_INFO + const MetricMetadata_STATESET + const MetricMetadata_SUMMARY + const MetricMetadata_UNKNOWN + func (MetricMetadata_MetricType) EnumDescriptor() ([]byte, []int) + func (x MetricMetadata_MetricType) String() string + type Query struct + EndTimestampMs int64 + Hints *ReadHints + Matchers []*LabelMatcher + StartTimestampMs int64 + 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 + 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 + 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 + 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 + 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 + func SamplesFromPromqlPoints(samples []promql.Point) []Sample + func SamplesFromSamplePairs(samples []model.SamplePair) []Sample + 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 + type TimeSeries struct + Exemplars []Exemplar + Labels []github_com_thanos_io_thanos_pkg_store_labelpb.ZLabel + Samples []Sample + func (*TimeSeries) Descriptor() ([]byte, []int) + func (*TimeSeries) ProtoMessage() + func (m *TimeSeries) GetExemplars() []Exemplar + 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 + Metadata []MetricMetadata + Timeseries []TimeSeries + func (*WriteRequest) Descriptor() ([]byte, []int) + func (*WriteRequest) ProtoMessage() + func (m *WriteRequest) GetMetadata() []MetricMetadata + 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