api

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Run(prometheus.Gatherer) error
	Stop() error
	Reload() <-chan chan error
}

func NewHandler

func NewHandler(logger *zap.Logger, r prometheus.Registerer, opts *Options) Handler

type Options

type Options struct {
	ListenPort int
	ConfigFile string
	Cache      cache.Cache
	Querier    storage.Querier
}

Jump to

Keyboard shortcuts

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