Documentation ¶
Index ¶
- type ProxyQuerier
- func (h *ProxyQuerier) Close() error
- func (h *ProxyQuerier) LabelNames(matchers ...*labels.Matcher) ([]string, storage.Warnings, error)
- func (h *ProxyQuerier) LabelValues(name string, matchers ...*labels.Matcher) ([]string, storage.Warnings, error)
- func (h *ProxyQuerier) Select(_ bool, hints *storage.SelectHints, matchers ...*labels.Matcher) storage.SeriesSet
- type Series
- type SeriesSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyQuerier ¶
type ProxyQuerier struct { Ctx context.Context Start time.Time End time.Time Client promclient.API Cfg *proxyconfig.PromxyConfig }
ProxyQuerier Implements prometheus' Querier interface
func (*ProxyQuerier) Close ¶
func (h *ProxyQuerier) Close() error
Close closes the querier. Behavior for subsequent calls to Querier methods is undefined.
func (*ProxyQuerier) LabelNames ¶
LabelNames returns all the unique label names present in the block in sorted order.
func (*ProxyQuerier) LabelValues ¶
func (h *ProxyQuerier) LabelValues(name string, matchers ...*labels.Matcher) ([]string, storage.Warnings, error)
LabelValues returns all potential values for a label name.
func (*ProxyQuerier) Select ¶
func (h *ProxyQuerier) Select(_ bool, hints *storage.SelectHints, matchers ...*labels.Matcher) storage.SeriesSet
TODO: switch based on sortSeries bool(first arg) Select returns a set of series that matches the given label matchers.
type Series ¶
type Series struct {
It *promclient.SeriesIterator
}
Series implements prometheus' Series interface
type SeriesSet ¶
type SeriesSet struct {
// contains filtered or unexported fields
}
SeriesSet implements prometheus' SeriesSet interface
func NewSeriesSet ¶
NewSeriesSet returns a SeriesSet for the given series
Click to show internal directories.
Click to hide internal directories.