Documentation
¶
Index ¶
- func Labels(path string) labels.Labels
- func Run(config *config.Config) error
- type Querier
- func (q *Querier) Close() error
- func (q *Querier) LabelNames(ctx context.Context, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)
- func (q *Querier) LabelValues(ctx context.Context, label string, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)
- func (q *Querier) Select(ctx context.Context, sortSeries bool, hints *storage.SelectHints, ...) storage.SeriesSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Querier ¶ added in v0.11.0
type Querier struct {
// contains filtered or unexported fields
}
Querier provides reading access to time series data.
func (*Querier) LabelNames ¶ added in v0.11.0
func (q *Querier) LabelNames(ctx context.Context, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)
LabelNames returns all the unique label names present in the block in sorted order.
func (*Querier) LabelValues ¶ added in v0.11.0
func (q *Querier) LabelValues(ctx context.Context, label string, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)
LabelValues returns all potential values for a label name.
Click to show internal directories.
Click to hide internal directories.