series

package
Version: v0.0.0-...-d18a39a Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint  string              `yaml:"endpoint"`
	TLSConfig http_util.TLSConfig `yaml:"tls_config"`
	Type      Type                `yaml:"type"`
}

Config contains the options determining the endpoint to talk to.

type Params

type Params struct {
	Matchers []*labels.Matcher
	MinTime  time.Time
	MaxTime  time.Time
}

Params determines what data should be loaded from the input.

type Reader

type Reader interface {
	Read(context.Context, Params) (Set, error)
}

type Set

type Set interface {
	storage.SeriesSet
	Close() error
}

Set allows iterating through all series in tn the input. The set is expected to iterate series by series. The same series can be partitioned between multiple iterations.

type Type

type Type string
const (
	REMOTEREAD Type = "REMOTEREAD"
	STOREAPI   Type = "STOREAPI"
)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL