Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPResponse ¶
type HTTPResponse struct { config.PluginConfig Instances []*Instance `toml:"instances"` Mappings map[string]map[string]string `toml:"mappings"` }
func (*HTTPResponse) Clone ¶
func (h *HTTPResponse) Clone() inputs.Input
func (*HTTPResponse) GetInstances ¶
func (h *HTTPResponse) GetInstances() []inputs.Instance
func (*HTTPResponse) Name ¶
func (h *HTTPResponse) Name() string
type Instance ¶
type Instance struct { config.InstanceConfig Targets []string `toml:"targets"` Interface string `toml:"interface"` ResponseTimeout config.Duration `toml:"response_timeout"` Headers []string `toml:"headers"` Body string `toml:"body"` ExpectResponseSubstring string `toml:"expect_response_substring"` ExpectResponseRegularExpression string `toml:"expect_response_regular_expression"` ExpectResponseStatusCode *int `toml:"expect_response_status_code"` ExpectResponseStatusCodes string `toml:"expect_response_status_codes"` config.HTTPProxy config.HTTPCommonConfig // Mappings Set the mapping of extra tags in batches Mappings map[string]map[string]string `toml:"mappings"` // contains filtered or unexported fields }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
Click to show internal directories.
Click to hide internal directories.