Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
Collector pings a number of hosts and measures latency & packet loss
func (Collector) Collect ¶
func (c Collector) Collect(ch chan<- prometheus.Metric)
Collect implements the Prometheus Collector interface
func (Collector) Describe ¶
func (c Collector) Describe(ch chan<- *prometheus.Desc)
Describe implements the Prometheus Collector interface
type Pinger ¶
type Pinger interface {
Statistics() map[string]ping.Statistics
}
Click to show internal directories.
Click to hide internal directories.