Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultIntervalSeconds = 60 // default interval MinIntervalSeconds = 10 // min interval seconds MaxIntervalSeconds = 86400 // max interval seconds DefaultTimeoutSeconds = 5 // default timeout is 5s MinTimeoutSeconds = 1 // min timeout seconds MaxTimeoutSeconds = 30 // max timeout seconds )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICMPConfig ¶
type NetPing ¶
type NetPing struct { TimeoutSeconds int `` /* 131-byte string literal not displayed */ IntervalSeconds int `` /* 157-byte string literal not displayed */ ICMPConfigs []ICMPConfig `` /* 132-byte string literal not displayed */ TCPConfigs []TCPConfig `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
NetPing struct implements the MetricInput interface.
func (*NetPing) Collect ¶
Collect is called every trigger interval to collect the metrics and send them to the collector.
func (*NetPing) Description ¶
Click to show internal directories.
Click to hide internal directories.