sources

package
v0.0.0-...-2a78edc Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMetricsScrapeTimeout = 20 * time.Second
	MaxDelayMs                  = 4 * 1000
	DelayPerSourceMs            = 8
)

Variables

This section is empty.

Functions

func NewSourceManager

func NewSourceManager(metricsSourceProvider MetricsSourceProvider, metricsScrapeTimeout time.Duration) (MetricsSource, error)

Types

type SourceFactory

type SourceFactory struct {
}

func NewSourceFactory

func NewSourceFactory() *SourceFactory

func (*SourceFactory) Build

func (this *SourceFactory) Build(uri flags.Uri) (core.MetricsSourceProvider, error)

func (*SourceFactory) BuildAll

func (this *SourceFactory) BuildAll(uris flags.Uris) (core.MetricsSourceProvider, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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