prometheus

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Labels added in v0.11.6

func Labels(path string) labels.Labels

func Run added in v0.14.0

func Run(config *config.Config) error

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) Close added in v0.11.0

func (q *Querier) Close() error

Close releases the resources of the Querier.

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.

func (*Querier) Select added in v0.11.0

func (q *Querier) Select(ctx context.Context, sortSeries bool, hints *storage.SelectHints, labelsMatcher ...*labels.Matcher) storage.SeriesSet

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

Jump to

Keyboard shortcuts

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