metricworker

package
v0.0.0-...-2608902 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Manifold

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a Manifold that encapsulates various metrics workers.

func NewCleanup

NewCleanup creates a new periodic worker that calls the CleanupOldMetrics api.

func NewMetricsManager

func NewMetricsManager(client metricsmanager.MetricsManagerClient) (worker.Runner, error)

NewMetricsManager creates a runner that will run the metricsmanagement workers.

func NewSender

NewSender creates a new periodic worker that sends metrics to a collection service.

Types

type ManifoldConfig

type ManifoldConfig util.ApiManifoldConfig

ManifoldConfig describes the resources used by metrics workers.

Jump to

Keyboard shortcuts

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