Documentation ¶
Index ¶
Constants ¶
View Source
const MaxConcurrentJobs = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPGet ¶
HTTPGet Object
func NewHTTPGet ¶
func NewHTTPGet(logger log.Logger, startupDelay time.Duration, name string, url string, srcAddr string, proxy string, interval time.Duration, timeout time.Duration, labels map[string]string) (*HTTPGet, error)
NewHTTPGet starts a new monitoring goroutine
func (*HTTPGet) Compute ¶
func (t *HTTPGet) Compute() *http.HTTPReturn
Compute returns the results of the HTTP metrics
type MTR ¶
MTR Object
func NewMTR ¶
func NewMTR(logger log.Logger, icmpID *common.IcmpID, startupDelay time.Duration, name string, host string, srcAddr string, interval time.Duration, timeout time.Duration, maxHops int, count int, labels map[string]string) (*MTR, error)
NewMTR starts a new monitoring goroutine
type PING ¶
PING Object
func NewPing ¶
func NewPing(logger log.Logger, icmpID *common.IcmpID, startupDelay time.Duration, name string, host string, ip string, srcAddr string, interval time.Duration, timeout time.Duration, count int, labels map[string]string) (*PING, error)
NewPing starts a new monitoring goroutine
func (*PING) Compute ¶
func (t *PING) Compute() *ping.PingResult
Compute returns the results of the Ping metrics
type TCPPort ¶
TCPPort Object
func NewTCPPort ¶
func NewTCPPort(logger log.Logger, startupDelay time.Duration, name string, host string, ip string, srcAddr string, port string, interval time.Duration, timeout time.Duration, labels map[string]string) (*TCPPort, error)
NewTCPPort starts a new monitoring goroutine
func (*TCPPort) Compute ¶
func (t *TCPPort) Compute() *tcp.TCPPortReturn
Compute returns the results of the TCP metrics
Click to show internal directories.
Click to hide internal directories.