sources

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

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