storage

package
v0.0.0-...-5386414 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExemplarAppender

type ExemplarAppender interface {
	AppendExemplar(ctx context.Context, lset labels.Labels, e exemplar.Exemplar) error
}

type ExemplarQuerier

type ExemplarQuerier interface {
	Select(ctx context.Context, start, end int64, matchers ...[]*labels.Matcher) ([]exemplar.QueryResult, error)
}

type ExemplarStore

type ExemplarStore interface {
	ExemplarAppender
	ExemplarQuerier
}

func NewExemplarStore

func NewExemplarStore(
	logger log.Logger,
	tracer trace.Tracer,
	reg prometheus.Registerer,
	storeType ExemplarStoreType,
) (ExemplarStore, error)

type ExemplarStoreType

type ExemplarStoreType string
const (
	FrostDBExemplarStore ExemplarStoreType = "frostdb"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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