retrieval

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 18 Imported by: 1

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