Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRedirectAttempted = errors.New("redirect")
ErrRedirectAttempted indicates that a redirect occurred
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Addresses []string AddressPath string FlushAddressIntervalSec int Body string Method string ResponseTimeoutMs int PerAddressSleepMs int Headers map[string]string FollowRedirects bool ResponseStringMatch string IncludeBody bool // Path to CA file SSLCA string // Path to host cert file SSLCert string // Path to cert key file SSLKey string // Use SSL but skip chain & host verification InsecureSkipVerify bool // contains filtered or unexported fields }
Response sends HTTP request and collects HTTP response metrics.
func (*Response) Collect ¶
Collect gets all metric fields and tags and returns any errors it encounters
func (*Response) Description ¶
Description returns the plugin Description
Click to show internal directories.
Click to hide internal directories.