db

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentName = "db"

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, tsdb *tsdb.DB, lbls labels.Labels, value float64) error

func NewPromqlEngineOpts added in v0.2.0

func NewPromqlEngineOpts(logger log.Logger) promql.EngineOpts

func NewRemoteDB

func NewRemoteDB(cfg Config) (storage.SampleAndChunkQueryable, error)

Types

type Config

type Config struct {
	LogLevel string
	Path     string
	// Connect to this remote DB.
	RemoteHost    string
	RemotePort    uint
	RemoteTimeout format.Duration
}

Jump to

Keyboard shortcuts

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