Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct { URLs []string `toml:"urls"` Method string Headers map[string]string // HTTP Basic Auth Credentials Username string Password string // Path to CA file SSLCA string `toml:"ssl_ca"` // Path to host cert file SSLCert string `toml:"ssl_cert"` // Path to cert key file SSLKey string `toml:"ssl_key"` // Use SSL but skip chain & host verification InsecureSkipVerify bool Timeout itscripts.Duration // contains filtered or unexported fields }
func (*HTTP) Description ¶
Description returns a one-sentence description on the Input
func (*HTTP) Gather ¶
func (h *HTTP) Gather(acc tinymonitor.Accumulator) error
Gather takes in an accumulator and adds the metrics that the Input gathers. This is called every "interval"
func (*HTTP) SampleConfig ¶
SampleConfig returns the default configuration of the Input
Click to show internal directories.
Click to hide internal directories.