Documentation
¶
Index ¶
- Variables
- func NewHashSelector(values iter.Seq[string]) *hashSelector
- func Run(ctx context.Context, config *config.Config) error
- type Querier
- func (q *Querier) Close() error
- func (q *Querier) LabelNames(ctx context.Context, hints *storage.LabelHints, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)
- func (q *Querier) LabelValues(ctx context.Context, label string, hints *storage.LabelHints, ...) ([]string, annotations.Annotations, error)
- func (q *Querier) Select(ctx context.Context, sortSeries bool, selectHints *storage.SelectHints, ...) storage.SeriesSet
Constants ¶
This section is empty.
Variables ¶
View Source
var ColumnLabels rb.Type[labels.Labels] = &typeColumnLabels{}
Functions ¶
func NewHashSelector ¶
TODO: test in prod if hash32 is sufficient. Metric required
Types ¶
type Querier ¶
type Querier struct {
// contains filtered or unexported fields
}
Querier provides reading access to time series data.
func (*Querier) LabelNames ¶
func (q *Querier) LabelNames(ctx context.Context, hints *storage.LabelHints, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)
LabelNames returns all the unique label names present in the block in sorted order.
func (*Querier) LabelValues ¶
func (q *Querier) LabelValues(ctx context.Context, label string, hints *storage.LabelHints, 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.