proxyquerier

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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
	ServerGroups servergroup.ServerGroups

	Cfg *proxyconfig.PromxyConfig
}

func (*ProxyQuerier) Close

func (h *ProxyQuerier) Close() error

Close closes the querier. Behavior for subsequent calls to Querier methods is undefined.

func (*ProxyQuerier) LabelValues added in v0.0.2

func (h *ProxyQuerier) LabelValues(name string) ([]string, error)

LabelValues returns all potential values for a label name.

func (*ProxyQuerier) Select added in v0.0.2

func (h *ProxyQuerier) Select(selectParams *storage.SelectParams, matchers ...*labels.Matcher) (storage.SeriesSet, error)

Select returns a set of series that matches the given label matchers.

type Series added in v0.0.2

type Series struct {
	It *promclient.SeriesIterator
}

func (*Series) Iterator added in v0.0.2

func (s *Series) Iterator() storage.SeriesIterator

func (*Series) Labels added in v0.0.2

func (s *Series) Labels() labels.Labels

type SeriesSet added in v0.0.2

type SeriesSet struct {
	// contains filtered or unexported fields
}

func NewSeriesSet added in v0.0.2

func NewSeriesSet(series []storage.Series) *SeriesSet

func (*SeriesSet) At added in v0.0.2

func (s *SeriesSet) At() storage.Series

func (*SeriesSet) Err added in v0.0.2

func (s *SeriesSet) Err() error

func (*SeriesSet) Next added in v0.0.2

func (s *SeriesSet) Next() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL