sources

package
v0.20.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMetricsScrapeTimeout = 20 * time.Second
)

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