retrieval

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConfigNotSet = errors.New("Config has been not set")
)

Functions

This section is empty.

Types

type Options

type Options struct {
	ScrapeInterval time.Duration
	ScrapeTimeout  time.Duration
	Appender       storage.Appender
}

type Retriever

type Retriever interface {
	Run()
	Stop()
	ApplyConfig(*config.Config) error
}

func NewRetriever

func NewRetriever(logger *zap.Logger, r prometheus.Registerer, opts *Options) Retriever

Jump to

Keyboard shortcuts

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