remote

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryFuncProvider

type QueryFuncProvider interface {
	InstantQueryFunc(allowArbitraryQueries bool) rules.QueryFunc
	RangeQueryFunc() RangeQueryFunc
}

type Queryable

type Queryable interface {
	io.Closer
	QueryFuncProvider(minTimestamp time.Time, maxTimestamp time.Time, step time.Duration) (QueryFuncProvider, error)
}

func NewQueryable

func NewQueryable(address *url.URL, parallelism uint8) (Queryable, error)

type RangeQueryFunc

type RangeQueryFunc func(ctx context.Context, qs string, start time.Time, end time.Time, interval time.Duration) (promql.Matrix, error)

Jump to

Keyboard shortcuts

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