Documentation ¶
Index ¶
- func Manifold(config ManifoldConfig) dependency.Manifold
- func NewCleanup(client metricsmanager.MetricsManagerClient) worker.Worker
- func NewMetricsManager(client metricsmanager.MetricsManagerClient) (worker.Runner, error)
- func NewSender(client metricsmanager.MetricsManagerClient) worker.Worker
- type ManifoldConfig
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 ¶
func NewCleanup(client metricsmanager.MetricsManagerClient) worker.Worker
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 ¶
func NewSender(client metricsmanager.MetricsManagerClient) worker.Worker
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.
Click to show internal directories.
Click to hide internal directories.