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
tls.ClientConfig
Timeout internal.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 telegraf.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.