frostdb

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: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColumnLabels         = "labels"
	ColumnExemplarLabels = "exemplar_labels"
	ColumnTimestamp      = "timestamp"
	ColumnValue          = "value"
)

Variables

This section is empty.

Functions

func StringValueFromDictionary

func StringValueFromDictionary(arr *array.Dictionary, i int) string

Types

type FrostDBStore

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

func NewFrostDBStore

func NewFrostDBStore(logger log.Logger, tracer trace.Tracer, reg prometheus.Registerer, dbName string) (*FrostDBStore, error)

func (*FrostDBStore) AppendExemplar

func (s *FrostDBStore) AppendExemplar(ctx context.Context, lset labels.Labels, e exemplar.Exemplar) error

func (*FrostDBStore) Select

func (s *FrostDBStore) Select(ctx context.Context, 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