querier

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LetheQuerier

type LetheQuerier struct {
	SelectLetheFunction func(sortSeries bool, hints *promstorage.SelectHints, matchers ...*labels.Matcher) promstorage.SeriesSet
}

LetheQuerier is used for test purposes to Lethe the selected series that is returned.

func (*LetheQuerier) Close

func (q *LetheQuerier) Close() error

func (*LetheQuerier) LabelNames

func (q *LetheQuerier) LabelNames(...*labels.Matcher) ([]string, promstorage.Warnings, error)

func (*LetheQuerier) LabelValues

func (q *LetheQuerier) LabelValues(string, ...*labels.Matcher) ([]string, promstorage.Warnings, error)

func (*LetheQuerier) Select

func (q *LetheQuerier) Select(sortSeries bool, hints *promstorage.SelectHints, matchers ...*labels.Matcher) promstorage.SeriesSet

type LetheQueryable

type LetheQueryable struct {
	LetheQuerier promstorage.Querier
}

A LetheQueryable is used for testing purposes so that a Lethe Querier can be used.

func (*LetheQueryable) Querier

Jump to

Keyboard shortcuts

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