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 ¶
func New(cfg Collector, nodeInfo collectors.NodeInfo) (Collector, chan producers.MetricsMessage)
New returns a new instance of the node metrics collector and a metrics chan.
Click to show internal directories.
Click to hide internal directories.