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"` // The path to the proc filesystem. Useful to override in containerized // environments. ProcFSPath string `yaml:"procFSPath" default:"/proc"` // The path to the main host config dir. Useful to override in // containerized environments. EtcPath string `yaml:"etcPath" default:"/etc"` }
Config for this monitor
type Monitor ¶
Monitor for host-metadata
func (*Monitor) Configure ¶
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
Click to show internal directories.
Click to hide internal directories.