Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BasePort uint16 ConfiguredSrcAddr net.IP SrcAddrs []net.IP Hops []Hop StaticLabels []Label TOS TOS PPS uint64 PayloadSizeBytes uint64 MeasurementLengthMS uint64 TimeoutMS uint64 }
Config is the configuration of a prober
type Prober ¶
type Prober struct {
// contains filtered or unexported fields
}
Prober keeps the state of a prober instance. There is one instance per probed path.
func (*Prober) Collect ¶
func (p *Prober) Collect(ch chan<- prometheus.Metric)
Collect collects data from the collector and send it to prometheus
func (*Prober) Describe ¶
func (p *Prober) Describe(ch chan<- *prometheus.Desc)
Describe is required by prometheus interface
Click to show internal directories.
Click to hide internal directories.