hostmetadata

package
v4.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 14 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:"true" acceptsEndpoints:"false"`
}

Config for this monitor

type Monitor

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

Monitor for host-metadata

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) ReportMetadataProperties

func (m *Monitor) ReportMetadataProperties()

ReportMetadataProperties emits properties about the host

func (*Monitor) ReportUptimeMetric

func (m *Monitor) ReportUptimeMetric()

ReportUptimeMetric report metrics

Jump to

Keyboard shortcuts

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