metrics

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Querier

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

func (*Querier) Close

func (q *Querier) Close() error

func (*Querier) LabelNames

func (s *Querier) LabelNames(ctx context.Context, hints *storage.LabelHints, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)

func (*Querier) LabelValues

func (s *Querier) LabelValues(ctx context.Context, name string, hits *storage.LabelHints, matchers ...*labels.Matcher) ([]string, annotations.Annotations, error)

func (*Querier) Select

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

type Queryable

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

func (*Queryable) Querier

func (q *Queryable) Querier(mints, maxts int64) (storage.Querier, error)

type Store

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

func New

func New(path string) (*Store, error)

func (*Store) Close added in v0.0.6

func (s *Store) Close() error

func (*Store) ExemplarQuerier

func (s *Store) ExemplarQuerier(ctx context.Context) (storage.ExemplarQuerier, error)

func (*Store) Metadata added in v0.0.6

func (s *Store) Metadata(name string) (o map[string][]metadata.Metadata, err error)

func (*Store) Queryable

func (s *Store) Queryable() *Queryable

func (*Store) Save

func (s *Store) Save(pm pmetric.Metrics) error

func (*Store) Select

func (s *Store) Select(start, end int64, matchers ...[]*labels.Matcher) ([]exemplar.QueryResult, error)

Jump to

Keyboard shortcuts

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