Documentation ¶
Index ¶
- Variables
- func CompareLabels(a, b []Label) int
- func LabelsToPromLabels(lset []Label) labels.Labels
- func LabelsToString(lset []Label) string
- func RegisterStoreServer(s *grpc.Server, srv StoreServer)
- type Aggr
- type AggrChunk
- func (*AggrChunk) Descriptor() ([]byte, []int)
- func (m *AggrChunk) Marshal() (dAtA []byte, err error)
- func (m *AggrChunk) MarshalTo(dAtA []byte) (int, error)
- func (*AggrChunk) ProtoMessage()
- func (m *AggrChunk) Reset()
- func (m *AggrChunk) Size() (n int)
- func (m *AggrChunk) String() string
- func (m *AggrChunk) Unmarshal(dAtA []byte) error
- func (m *AggrChunk) XXX_DiscardUnknown()
- func (m *AggrChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AggrChunk) XXX_Merge(src proto.Message)
- func (m *AggrChunk) XXX_Size() int
- func (m *AggrChunk) XXX_Unmarshal(b []byte) error
- type Chunk
- func (*Chunk) Descriptor() ([]byte, []int)
- func (m *Chunk) Marshal() (dAtA []byte, err error)
- func (m *Chunk) MarshalTo(dAtA []byte) (int, error)
- func (*Chunk) ProtoMessage()
- 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 (dst *Chunk) XXX_Merge(src proto.Message)
- func (m *Chunk) XXX_Size() int
- func (m *Chunk) XXX_Unmarshal(b []byte) error
- type Chunk_Encoding
- type InfoRequest
- func (*InfoRequest) Descriptor() ([]byte, []int)
- func (m *InfoRequest) Marshal() (dAtA []byte, err error)
- func (m *InfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*InfoRequest) ProtoMessage()
- func (m *InfoRequest) Reset()
- func (m *InfoRequest) Size() (n int)
- func (m *InfoRequest) String() string
- func (m *InfoRequest) Unmarshal(dAtA []byte) error
- func (m *InfoRequest) XXX_DiscardUnknown()
- func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InfoRequest) XXX_Merge(src proto.Message)
- func (m *InfoRequest) XXX_Size() int
- func (m *InfoRequest) XXX_Unmarshal(b []byte) error
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)
- func (m *InfoResponse) Marshal() (dAtA []byte, err error)
- func (m *InfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (*InfoResponse) ProtoMessage()
- func (m *InfoResponse) Reset()
- func (m *InfoResponse) Size() (n int)
- func (m *InfoResponse) String() string
- func (m *InfoResponse) Unmarshal(dAtA []byte) error
- func (m *InfoResponse) XXX_DiscardUnknown()
- func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InfoResponse) XXX_Merge(src proto.Message)
- func (m *InfoResponse) XXX_Size() int
- func (m *InfoResponse) XXX_Unmarshal(b []byte) error
- type Label
- func (*Label) Descriptor() ([]byte, []int)
- func (m *Label) Marshal() (dAtA []byte, err error)
- func (m *Label) MarshalTo(dAtA []byte) (int, error)
- func (*Label) ProtoMessage()
- 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 (dst *Label) XXX_Merge(src proto.Message)
- func (m *Label) XXX_Size() int
- func (m *Label) XXX_Unmarshal(b []byte) error
- type LabelMatcher
- func (*LabelMatcher) Descriptor() ([]byte, []int)
- func (m *LabelMatcher) Marshal() (dAtA []byte, err error)
- func (m *LabelMatcher) MarshalTo(dAtA []byte) (int, error)
- func (*LabelMatcher) ProtoMessage()
- 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 (dst *LabelMatcher) XXX_Merge(src proto.Message)
- func (m *LabelMatcher) XXX_Size() int
- func (m *LabelMatcher) XXX_Unmarshal(b []byte) error
- type LabelMatcher_Type
- type LabelNamesRequest
- func (*LabelNamesRequest) Descriptor() ([]byte, []int)
- func (m *LabelNamesRequest) Marshal() (dAtA []byte, err error)
- func (m *LabelNamesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*LabelNamesRequest) ProtoMessage()
- func (m *LabelNamesRequest) Reset()
- func (m *LabelNamesRequest) Size() (n int)
- func (m *LabelNamesRequest) String() string
- func (m *LabelNamesRequest) Unmarshal(dAtA []byte) error
- func (m *LabelNamesRequest) XXX_DiscardUnknown()
- func (m *LabelNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LabelNamesRequest) XXX_Merge(src proto.Message)
- func (m *LabelNamesRequest) XXX_Size() int
- func (m *LabelNamesRequest) XXX_Unmarshal(b []byte) error
- type LabelNamesResponse
- func (*LabelNamesResponse) Descriptor() ([]byte, []int)
- func (m *LabelNamesResponse) Marshal() (dAtA []byte, err error)
- func (m *LabelNamesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*LabelNamesResponse) ProtoMessage()
- func (m *LabelNamesResponse) Reset()
- func (m *LabelNamesResponse) Size() (n int)
- func (m *LabelNamesResponse) String() string
- func (m *LabelNamesResponse) Unmarshal(dAtA []byte) error
- func (m *LabelNamesResponse) XXX_DiscardUnknown()
- func (m *LabelNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LabelNamesResponse) XXX_Merge(src proto.Message)
- func (m *LabelNamesResponse) XXX_Size() int
- func (m *LabelNamesResponse) XXX_Unmarshal(b []byte) error
- type LabelValuesRequest
- func (*LabelValuesRequest) Descriptor() ([]byte, []int)
- func (m *LabelValuesRequest) Marshal() (dAtA []byte, err error)
- func (m *LabelValuesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*LabelValuesRequest) ProtoMessage()
- func (m *LabelValuesRequest) Reset()
- func (m *LabelValuesRequest) Size() (n int)
- func (m *LabelValuesRequest) String() string
- func (m *LabelValuesRequest) Unmarshal(dAtA []byte) error
- func (m *LabelValuesRequest) XXX_DiscardUnknown()
- func (m *LabelValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LabelValuesRequest) XXX_Merge(src proto.Message)
- func (m *LabelValuesRequest) XXX_Size() int
- func (m *LabelValuesRequest) XXX_Unmarshal(b []byte) error
- type LabelValuesResponse
- func (*LabelValuesResponse) Descriptor() ([]byte, []int)
- func (m *LabelValuesResponse) Marshal() (dAtA []byte, err error)
- func (m *LabelValuesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*LabelValuesResponse) ProtoMessage()
- func (m *LabelValuesResponse) Reset()
- func (m *LabelValuesResponse) Size() (n int)
- func (m *LabelValuesResponse) String() string
- func (m *LabelValuesResponse) Unmarshal(dAtA []byte) error
- func (m *LabelValuesResponse) XXX_DiscardUnknown()
- func (m *LabelValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LabelValuesResponse) XXX_Merge(src proto.Message)
- func (m *LabelValuesResponse) XXX_Size() int
- func (m *LabelValuesResponse) XXX_Unmarshal(b []byte) error
- type Series
- func (*Series) Descriptor() ([]byte, []int)
- func (m *Series) Marshal() (dAtA []byte, err error)
- func (m *Series) MarshalTo(dAtA []byte) (int, error)
- func (*Series) ProtoMessage()
- func (m *Series) Reset()
- func (m *Series) Size() (n int)
- func (m *Series) String() string
- func (m *Series) Unmarshal(dAtA []byte) error
- func (m *Series) XXX_DiscardUnknown()
- func (m *Series) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Series) XXX_Merge(src proto.Message)
- func (m *Series) XXX_Size() int
- func (m *Series) XXX_Unmarshal(b []byte) error
- type SeriesRequest
- func (*SeriesRequest) Descriptor() ([]byte, []int)
- func (m *SeriesRequest) Marshal() (dAtA []byte, err error)
- func (m *SeriesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesRequest) ProtoMessage()
- func (m *SeriesRequest) Reset()
- func (m *SeriesRequest) Size() (n int)
- func (m *SeriesRequest) String() string
- func (m *SeriesRequest) Unmarshal(dAtA []byte) error
- func (m *SeriesRequest) XXX_DiscardUnknown()
- func (m *SeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SeriesRequest) XXX_Merge(src proto.Message)
- func (m *SeriesRequest) XXX_Size() int
- func (m *SeriesRequest) XXX_Unmarshal(b []byte) error
- type SeriesResponse
- func (*SeriesResponse) Descriptor() ([]byte, []int)
- func (m *SeriesResponse) GetResult() isSeriesResponse_Result
- func (m *SeriesResponse) GetSeries() *Series
- func (m *SeriesResponse) GetWarning() string
- func (m *SeriesResponse) Marshal() (dAtA []byte, err error)
- func (m *SeriesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesResponse) ProtoMessage()
- func (m *SeriesResponse) Reset()
- func (m *SeriesResponse) Size() (n int)
- func (m *SeriesResponse) String() string
- func (m *SeriesResponse) Unmarshal(dAtA []byte) error
- func (m *SeriesResponse) XXX_DiscardUnknown()
- func (m *SeriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SeriesResponse) XXX_Merge(src proto.Message)
- func (*SeriesResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *SeriesResponse) XXX_Size() int
- func (m *SeriesResponse) XXX_Unmarshal(b []byte) error
- type SeriesResponse_Series
- type SeriesResponse_Warning
- type SeriesSet
- type StoreClient
- type StoreServer
- type StoreType
- type Store_SeriesClient
- type Store_SeriesServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
View Source
var Aggr_name = map[int32]string{
0: "RAW",
1: "COUNT",
2: "SUM",
3: "MIN",
4: "MAX",
5: "COUNTER",
}
View Source
var Aggr_value = map[string]int32{
"RAW": 0,
"COUNT": 1,
"SUM": 2,
"MIN": 3,
"MAX": 4,
"COUNTER": 5,
}
View Source
var Chunk_Encoding_name = map[int32]string{
0: "XOR",
}
View Source
var Chunk_Encoding_value = map[string]int32{
"XOR": 0,
}
View Source
var LabelMatcher_Type_name = map[int32]string{
0: "EQ",
1: "NEQ",
2: "RE",
3: "NRE",
}
View Source
var LabelMatcher_Type_value = map[string]int32{
"EQ": 0,
"NEQ": 1,
"RE": 2,
"NRE": 3,
}
View Source
var StoreType_name = map[int32]string{
0: "UNKNOWN",
1: "QUERY",
2: "RULE",
3: "SIDECAR",
4: "STORE",
}
View Source
var StoreType_value = map[string]int32{
"UNKNOWN": 0,
"QUERY": 1,
"RULE": 2,
"SIDECAR": 3,
"STORE": 4,
}
Functions ¶
func CompareLabels ¶
CompareLabels compares two sets of labels.
func LabelsToPromLabels ¶ added in v0.2.1
func LabelsToString ¶ added in v0.3.0
func RegisterStoreServer ¶
func RegisterStoreServer(s *grpc.Server, srv StoreServer)
Types ¶
type AggrChunk ¶
type AggrChunk struct { MinTime int64 `protobuf:"varint,1,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,2,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` Raw *Chunk `protobuf:"bytes,3,opt,name=raw" json:"raw,omitempty"` Count *Chunk `protobuf:"bytes,4,opt,name=count" json:"count,omitempty"` Sum *Chunk `protobuf:"bytes,5,opt,name=sum" json:"sum,omitempty"` Min *Chunk `protobuf:"bytes,6,opt,name=min" json:"min,omitempty"` Max *Chunk `protobuf:"bytes,7,opt,name=max" json:"max,omitempty"` Counter *Chunk `protobuf:"bytes,8,opt,name=counter" json:"counter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AggrChunk) Descriptor ¶
func (*AggrChunk) ProtoMessage ¶
func (*AggrChunk) ProtoMessage()
func (*AggrChunk) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *AggrChunk) XXX_DiscardUnknown()
func (*AggrChunk) XXX_Marshal ¶ added in v0.2.1
func (*AggrChunk) XXX_Unmarshal ¶ added in v0.2.1
type Chunk ¶
type Chunk struct { Type Chunk_Encoding `protobuf:"varint,1,opt,name=type,proto3,enum=thanos.Chunk_Encoding" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Chunk) Descriptor ¶
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *Chunk) XXX_DiscardUnknown()
func (*Chunk) XXX_Marshal ¶ added in v0.2.1
func (*Chunk) XXX_Unmarshal ¶ added in v0.2.1
type Chunk_Encoding ¶
type Chunk_Encoding int32
const (
Chunk_XOR Chunk_Encoding = 0
)
func (Chunk_Encoding) EnumDescriptor ¶
func (Chunk_Encoding) EnumDescriptor() ([]byte, []int)
func (Chunk_Encoding) String ¶
func (x Chunk_Encoding) String() string
type InfoRequest ¶
type InfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InfoRequest) Descriptor ¶
func (*InfoRequest) Descriptor() ([]byte, []int)
func (*InfoRequest) Marshal ¶
func (m *InfoRequest) Marshal() (dAtA []byte, err error)
func (*InfoRequest) ProtoMessage ¶
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) Reset ¶
func (m *InfoRequest) Reset()
func (*InfoRequest) Size ¶
func (m *InfoRequest) Size() (n int)
func (*InfoRequest) String ¶
func (m *InfoRequest) String() string
func (*InfoRequest) Unmarshal ¶
func (m *InfoRequest) Unmarshal(dAtA []byte) error
func (*InfoRequest) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *InfoRequest) XXX_DiscardUnknown()
func (*InfoRequest) XXX_Marshal ¶ added in v0.2.1
func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InfoRequest) XXX_Merge ¶ added in v0.2.1
func (dst *InfoRequest) XXX_Merge(src proto.Message)
func (*InfoRequest) XXX_Size ¶ added in v0.2.1
func (m *InfoRequest) XXX_Size() int
func (*InfoRequest) XXX_Unmarshal ¶ added in v0.2.1
func (m *InfoRequest) XXX_Unmarshal(b []byte) error
type InfoResponse ¶
type InfoResponse struct { Labels []Label `protobuf:"bytes,1,rep,name=labels" json:"labels"` MinTime int64 `protobuf:"varint,2,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,3,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` StoreType StoreType `protobuf:"varint,4,opt,name=storeType,proto3,enum=thanos.StoreType" json:"storeType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InfoResponse) Descriptor ¶
func (*InfoResponse) Descriptor() ([]byte, []int)
func (*InfoResponse) Marshal ¶
func (m *InfoResponse) Marshal() (dAtA []byte, err error)
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) Reset ¶
func (m *InfoResponse) Reset()
func (*InfoResponse) Size ¶
func (m *InfoResponse) Size() (n int)
func (*InfoResponse) String ¶
func (m *InfoResponse) String() string
func (*InfoResponse) Unmarshal ¶
func (m *InfoResponse) Unmarshal(dAtA []byte) error
func (*InfoResponse) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *InfoResponse) XXX_DiscardUnknown()
func (*InfoResponse) XXX_Marshal ¶ added in v0.2.1
func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InfoResponse) XXX_Merge ¶ added in v0.2.1
func (dst *InfoResponse) XXX_Merge(src proto.Message)
func (*InfoResponse) XXX_Size ¶ added in v0.2.1
func (m *InfoResponse) XXX_Size() int
func (*InfoResponse) XXX_Unmarshal ¶ added in v0.2.1
func (m *InfoResponse) XXX_Unmarshal(b []byte) error
type Label ¶
type Label 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Label) Descriptor ¶
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *Label) XXX_DiscardUnknown()
func (*Label) XXX_Marshal ¶ added in v0.2.1
func (*Label) XXX_Unmarshal ¶ added in v0.2.1
type LabelMatcher ¶
type LabelMatcher struct { Type LabelMatcher_Type `protobuf:"varint,1,opt,name=type,proto3,enum=thanos.LabelMatcher_Type" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Matcher specifies a rule, which can match or set of labels or not.
func (*LabelMatcher) Descriptor ¶
func (*LabelMatcher) Descriptor() ([]byte, []int)
func (*LabelMatcher) Marshal ¶
func (m *LabelMatcher) Marshal() (dAtA []byte, err error)
func (*LabelMatcher) ProtoMessage ¶
func (*LabelMatcher) ProtoMessage()
func (*LabelMatcher) Reset ¶
func (m *LabelMatcher) Reset()
func (*LabelMatcher) Size ¶
func (m *LabelMatcher) Size() (n int)
func (*LabelMatcher) String ¶
func (m *LabelMatcher) String() string
func (*LabelMatcher) Unmarshal ¶
func (m *LabelMatcher) Unmarshal(dAtA []byte) error
func (*LabelMatcher) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *LabelMatcher) XXX_DiscardUnknown()
func (*LabelMatcher) XXX_Marshal ¶ added in v0.2.1
func (m *LabelMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelMatcher) XXX_Merge ¶ added in v0.2.1
func (dst *LabelMatcher) XXX_Merge(src proto.Message)
func (*LabelMatcher) XXX_Size ¶ added in v0.2.1
func (m *LabelMatcher) XXX_Size() int
func (*LabelMatcher) XXX_Unmarshal ¶ added in v0.2.1
func (m *LabelMatcher) XXX_Unmarshal(b []byte) error
type LabelMatcher_Type ¶
type LabelMatcher_Type int32
const ( LabelMatcher_EQ LabelMatcher_Type = 0 LabelMatcher_NEQ LabelMatcher_Type = 1 LabelMatcher_RE LabelMatcher_Type = 2 LabelMatcher_NRE LabelMatcher_Type = 3 )
func (LabelMatcher_Type) EnumDescriptor ¶
func (LabelMatcher_Type) EnumDescriptor() ([]byte, []int)
func (LabelMatcher_Type) String ¶
func (x LabelMatcher_Type) String() string
type LabelNamesRequest ¶
type LabelNamesRequest struct { PartialResponseDisabled bool `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LabelNamesRequest) Descriptor ¶
func (*LabelNamesRequest) Descriptor() ([]byte, []int)
func (*LabelNamesRequest) Marshal ¶
func (m *LabelNamesRequest) Marshal() (dAtA []byte, err error)
func (*LabelNamesRequest) MarshalTo ¶
func (m *LabelNamesRequest) MarshalTo(dAtA []byte) (int, error)
func (*LabelNamesRequest) ProtoMessage ¶
func (*LabelNamesRequest) ProtoMessage()
func (*LabelNamesRequest) Reset ¶
func (m *LabelNamesRequest) Reset()
func (*LabelNamesRequest) Size ¶
func (m *LabelNamesRequest) Size() (n int)
func (*LabelNamesRequest) String ¶
func (m *LabelNamesRequest) String() string
func (*LabelNamesRequest) Unmarshal ¶
func (m *LabelNamesRequest) Unmarshal(dAtA []byte) error
func (*LabelNamesRequest) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *LabelNamesRequest) XXX_DiscardUnknown()
func (*LabelNamesRequest) XXX_Marshal ¶ added in v0.2.1
func (m *LabelNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelNamesRequest) XXX_Merge ¶ added in v0.2.1
func (dst *LabelNamesRequest) XXX_Merge(src proto.Message)
func (*LabelNamesRequest) XXX_Size ¶ added in v0.2.1
func (m *LabelNamesRequest) XXX_Size() int
func (*LabelNamesRequest) XXX_Unmarshal ¶ added in v0.2.1
func (m *LabelNamesRequest) XXX_Unmarshal(b []byte) error
type LabelNamesResponse ¶
type LabelNamesResponse struct { Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` Warnings []string `protobuf:"bytes,2,rep,name=warnings" json:"warnings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LabelNamesResponse) Descriptor ¶
func (*LabelNamesResponse) Descriptor() ([]byte, []int)
func (*LabelNamesResponse) Marshal ¶
func (m *LabelNamesResponse) Marshal() (dAtA []byte, err error)
func (*LabelNamesResponse) MarshalTo ¶
func (m *LabelNamesResponse) MarshalTo(dAtA []byte) (int, error)
func (*LabelNamesResponse) ProtoMessage ¶
func (*LabelNamesResponse) ProtoMessage()
func (*LabelNamesResponse) Reset ¶
func (m *LabelNamesResponse) Reset()
func (*LabelNamesResponse) Size ¶
func (m *LabelNamesResponse) Size() (n int)
func (*LabelNamesResponse) String ¶
func (m *LabelNamesResponse) String() string
func (*LabelNamesResponse) Unmarshal ¶
func (m *LabelNamesResponse) Unmarshal(dAtA []byte) error
func (*LabelNamesResponse) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *LabelNamesResponse) XXX_DiscardUnknown()
func (*LabelNamesResponse) XXX_Marshal ¶ added in v0.2.1
func (m *LabelNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelNamesResponse) XXX_Merge ¶ added in v0.2.1
func (dst *LabelNamesResponse) XXX_Merge(src proto.Message)
func (*LabelNamesResponse) XXX_Size ¶ added in v0.2.1
func (m *LabelNamesResponse) XXX_Size() int
func (*LabelNamesResponse) XXX_Unmarshal ¶ added in v0.2.1
func (m *LabelNamesResponse) XXX_Unmarshal(b []byte) error
type LabelValuesRequest ¶
type LabelValuesRequest struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` PartialResponseDisabled bool `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LabelValuesRequest) Descriptor ¶
func (*LabelValuesRequest) Descriptor() ([]byte, []int)
func (*LabelValuesRequest) Marshal ¶
func (m *LabelValuesRequest) Marshal() (dAtA []byte, err error)
func (*LabelValuesRequest) MarshalTo ¶
func (m *LabelValuesRequest) MarshalTo(dAtA []byte) (int, error)
func (*LabelValuesRequest) ProtoMessage ¶
func (*LabelValuesRequest) ProtoMessage()
func (*LabelValuesRequest) Reset ¶
func (m *LabelValuesRequest) Reset()
func (*LabelValuesRequest) Size ¶
func (m *LabelValuesRequest) Size() (n int)
func (*LabelValuesRequest) String ¶
func (m *LabelValuesRequest) String() string
func (*LabelValuesRequest) Unmarshal ¶
func (m *LabelValuesRequest) Unmarshal(dAtA []byte) error
func (*LabelValuesRequest) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *LabelValuesRequest) XXX_DiscardUnknown()
func (*LabelValuesRequest) XXX_Marshal ¶ added in v0.2.1
func (m *LabelValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelValuesRequest) XXX_Merge ¶ added in v0.2.1
func (dst *LabelValuesRequest) XXX_Merge(src proto.Message)
func (*LabelValuesRequest) XXX_Size ¶ added in v0.2.1
func (m *LabelValuesRequest) XXX_Size() int
func (*LabelValuesRequest) XXX_Unmarshal ¶ added in v0.2.1
func (m *LabelValuesRequest) XXX_Unmarshal(b []byte) error
type LabelValuesResponse ¶
type LabelValuesResponse struct { Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"` Warnings []string `protobuf:"bytes,2,rep,name=warnings" json:"warnings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LabelValuesResponse) Descriptor ¶
func (*LabelValuesResponse) Descriptor() ([]byte, []int)
func (*LabelValuesResponse) Marshal ¶
func (m *LabelValuesResponse) Marshal() (dAtA []byte, err error)
func (*LabelValuesResponse) MarshalTo ¶
func (m *LabelValuesResponse) MarshalTo(dAtA []byte) (int, error)
func (*LabelValuesResponse) ProtoMessage ¶
func (*LabelValuesResponse) ProtoMessage()
func (*LabelValuesResponse) Reset ¶
func (m *LabelValuesResponse) Reset()
func (*LabelValuesResponse) Size ¶
func (m *LabelValuesResponse) Size() (n int)
func (*LabelValuesResponse) String ¶
func (m *LabelValuesResponse) String() string
func (*LabelValuesResponse) Unmarshal ¶
func (m *LabelValuesResponse) Unmarshal(dAtA []byte) error
func (*LabelValuesResponse) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *LabelValuesResponse) XXX_DiscardUnknown()
func (*LabelValuesResponse) XXX_Marshal ¶ added in v0.2.1
func (m *LabelValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelValuesResponse) XXX_Merge ¶ added in v0.2.1
func (dst *LabelValuesResponse) XXX_Merge(src proto.Message)
func (*LabelValuesResponse) XXX_Size ¶ added in v0.2.1
func (m *LabelValuesResponse) XXX_Size() int
func (*LabelValuesResponse) XXX_Unmarshal ¶ added in v0.2.1
func (m *LabelValuesResponse) XXX_Unmarshal(b []byte) error
type Series ¶
type Series struct { Labels []Label `protobuf:"bytes,1,rep,name=labels" json:"labels"` Chunks []AggrChunk `protobuf:"bytes,2,rep,name=chunks" json:"chunks"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Series) Descriptor ¶
func (*Series) ProtoMessage ¶
func (*Series) ProtoMessage()
func (*Series) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *Series) XXX_DiscardUnknown()
func (*Series) XXX_Marshal ¶ added in v0.2.1
func (*Series) XXX_Unmarshal ¶ added in v0.2.1
type SeriesRequest ¶
type SeriesRequest struct { MinTime int64 `protobuf:"varint,1,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,2,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` Matchers []LabelMatcher `protobuf:"bytes,3,rep,name=matchers" json:"matchers"` MaxResolutionWindow int64 `protobuf:"varint,4,opt,name=max_resolution_window,json=maxResolutionWindow,proto3" json:"max_resolution_window,omitempty"` Aggregates []Aggr `protobuf:"varint,5,rep,packed,name=aggregates,enum=thanos.Aggr" json:"aggregates,omitempty"` PartialResponseDisabled bool `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SeriesRequest) Descriptor ¶
func (*SeriesRequest) Descriptor() ([]byte, []int)
func (*SeriesRequest) Marshal ¶
func (m *SeriesRequest) Marshal() (dAtA []byte, err error)
func (*SeriesRequest) ProtoMessage ¶
func (*SeriesRequest) ProtoMessage()
func (*SeriesRequest) Reset ¶
func (m *SeriesRequest) Reset()
func (*SeriesRequest) Size ¶
func (m *SeriesRequest) Size() (n int)
func (*SeriesRequest) String ¶
func (m *SeriesRequest) String() string
func (*SeriesRequest) Unmarshal ¶
func (m *SeriesRequest) Unmarshal(dAtA []byte) error
func (*SeriesRequest) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *SeriesRequest) XXX_DiscardUnknown()
func (*SeriesRequest) XXX_Marshal ¶ added in v0.2.1
func (m *SeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeriesRequest) XXX_Merge ¶ added in v0.2.1
func (dst *SeriesRequest) XXX_Merge(src proto.Message)
func (*SeriesRequest) XXX_Size ¶ added in v0.2.1
func (m *SeriesRequest) XXX_Size() int
func (*SeriesRequest) XXX_Unmarshal ¶ added in v0.2.1
func (m *SeriesRequest) XXX_Unmarshal(b []byte) error
type SeriesResponse ¶
type SeriesResponse struct { // Types that are valid to be assigned to Result: // *SeriesResponse_Series // *SeriesResponse_Warning Result isSeriesResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewSeriesResponse ¶
func NewSeriesResponse(series *Series) *SeriesResponse
func NewWarnSeriesResponse ¶
func NewWarnSeriesResponse(err error) *SeriesResponse
func (*SeriesResponse) Descriptor ¶
func (*SeriesResponse) Descriptor() ([]byte, []int)
func (*SeriesResponse) GetResult ¶
func (m *SeriesResponse) GetResult() isSeriesResponse_Result
func (*SeriesResponse) GetSeries ¶
func (m *SeriesResponse) GetSeries() *Series
func (*SeriesResponse) GetWarning ¶
func (m *SeriesResponse) GetWarning() string
func (*SeriesResponse) Marshal ¶
func (m *SeriesResponse) Marshal() (dAtA []byte, err error)
func (*SeriesResponse) ProtoMessage ¶
func (*SeriesResponse) ProtoMessage()
func (*SeriesResponse) Reset ¶
func (m *SeriesResponse) Reset()
func (*SeriesResponse) Size ¶
func (m *SeriesResponse) Size() (n int)
func (*SeriesResponse) String ¶
func (m *SeriesResponse) String() string
func (*SeriesResponse) Unmarshal ¶
func (m *SeriesResponse) Unmarshal(dAtA []byte) error
func (*SeriesResponse) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *SeriesResponse) XXX_DiscardUnknown()
func (*SeriesResponse) XXX_Marshal ¶ added in v0.2.1
func (m *SeriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeriesResponse) XXX_Merge ¶ added in v0.2.1
func (dst *SeriesResponse) XXX_Merge(src proto.Message)
func (*SeriesResponse) XXX_OneofFuncs ¶
func (*SeriesResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*SeriesResponse) XXX_Size ¶ added in v0.2.1
func (m *SeriesResponse) XXX_Size() int
func (*SeriesResponse) XXX_Unmarshal ¶ added in v0.2.1
func (m *SeriesResponse) XXX_Unmarshal(b []byte) error
type SeriesResponse_Series ¶
type SeriesResponse_Series struct {
Series *Series `protobuf:"bytes,1,opt,name=series,oneof"`
}
func (*SeriesResponse_Series) MarshalTo ¶
func (m *SeriesResponse_Series) MarshalTo(dAtA []byte) (int, error)
func (*SeriesResponse_Series) Size ¶
func (m *SeriesResponse_Series) Size() (n int)
type SeriesResponse_Warning ¶
type SeriesResponse_Warning struct {
Warning string `protobuf:"bytes,2,opt,name=warning,proto3,oneof"`
}
func (*SeriesResponse_Warning) MarshalTo ¶
func (m *SeriesResponse_Warning) MarshalTo(dAtA []byte) (int, error)
func (*SeriesResponse_Warning) Size ¶
func (m *SeriesResponse_Warning) Size() (n int)
type SeriesSet ¶
SeriesSet is a set of series and their corresponding chunks. The set is sorted by the label sets. Chunks may be overlapping or out of order.
func EmptySeriesSet ¶
func EmptySeriesSet() SeriesSet
EmptySeriesSet returns a new series set that contains no series.
func MergeSeriesSets ¶
MergeSeriesSets returns a new series set that is the union of the input sets.
type StoreClient ¶
type StoreClient interface { // / Info returns meta information about a store e.g labels that makes that store unique as well as time range that is // / available. Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) // / Series streams each Series (Labels and chunk/downsampling chunk) for given label matchers and time range. Series(ctx context.Context, in *SeriesRequest, opts ...grpc.CallOption) (Store_SeriesClient, error) // / LabelNames returns all label names that is available. // / Currently unimplemented in all Thanos implementations, because Query API does not implement this either. LabelNames(ctx context.Context, in *LabelNamesRequest, opts ...grpc.CallOption) (*LabelNamesResponse, error) // / LabelValues returns all label values for given label name. LabelValues(ctx context.Context, in *LabelValuesRequest, opts ...grpc.CallOption) (*LabelValuesResponse, error) }
func NewStoreClient ¶
func NewStoreClient(cc *grpc.ClientConn) StoreClient
type StoreServer ¶
type StoreServer interface { // / Info returns meta information about a store e.g labels that makes that store unique as well as time range that is // / available. Info(context.Context, *InfoRequest) (*InfoResponse, error) // / Series streams each Series (Labels and chunk/downsampling chunk) for given label matchers and time range. Series(*SeriesRequest, Store_SeriesServer) error // / LabelNames returns all label names that is available. // / Currently unimplemented in all Thanos implementations, because Query API does not implement this either. LabelNames(context.Context, *LabelNamesRequest) (*LabelNamesResponse, error) // / LabelValues returns all label values for given label name. LabelValues(context.Context, *LabelValuesRequest) (*LabelValuesResponse, error) }
type StoreType ¶ added in v0.3.0
type StoreType int32
func (StoreType) EnumDescriptor ¶ added in v0.3.0
type Store_SeriesClient ¶
type Store_SeriesClient interface { Recv() (*SeriesResponse, error) grpc.ClientStream }
type Store_SeriesServer ¶
type Store_SeriesServer interface { Send(*SeriesResponse) error grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.