sources

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2016 License: 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