netio

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 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 Config

type Config struct {
	config.MonitorConfig `singleInstance:"false" acceptsEndpoints:"false"`
	// The network interfaces to send metrics about. This is a
	// [filter set](https://github.com/signalfx/signalfx-agent/blob/master/docs/filtering.md#generic-filters).
	Interfaces []string `` /* 133-byte string literal not displayed */
}

Config for this monitor

type Monitor

type Monitor struct {
	Output types.Output
	// contains filtered or unexported fields
}

Monitor for Utilization

func (*Monitor) Configure

func (m *Monitor) Configure(conf *Config) error

Configure is the main function of the monitor, it will report host metadata on a varied interval

func (*Monitor) EmitDatapoints

func (m *Monitor) EmitDatapoints()

EmitDatapoints emits a set of memory datapoints

func (*Monitor) Shutdown

func (m *Monitor) Shutdown()

Shutdown stops the metric sync

Jump to

Keyboard shortcuts

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