node

package
v0.0.0-...-f82f096 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	PollPeriod  time.Duration `yaml:"poll_period,omitempty"`
	MetricsChan chan producers.MetricsMessage
	// contains filtered or unexported fields
}

Collector defines the collector type for system-level metrics.

func New

New returns a new instance of the node metrics collector and a metrics chan.

func (*Collector) RunPoller

func (c *Collector) RunPoller()

RunPoller periodiclly polls the HTTP APIs of a Mesos agent. This function should be run in its own goroutine.

Jump to

Keyboard shortcuts

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