Documentation ¶
Index ¶
Constants ¶
View Source
const (
HcloudResourceLoadBalancer = "load_balancers"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hcloud ¶
type Hcloud struct { Resources []string `toml:"resources"` Token string `toml:"token"` Timeout config.Duration // contains filtered or unexported fields }
Hcloud - plugin main struct.
func (*Hcloud) Description ¶
Description returns a one-sentence description on the Cloudwatch input plugin.
func (*Hcloud) Gather ¶
func (h *Hcloud) Gather(acc telegraf.Accumulator) error
Gather takes in an accumulator and adds the metrics that the Input gathers. This is called every "interval".
func (*Hcloud) SampleConfig ¶
SampleConfig returns the default configuration of the Cloudwatch input plugin.
Click to show internal directories.
Click to hide internal directories.