hcloud

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

func (h *Hcloud) Description() string

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

func (h *Hcloud) SampleConfig() string

SampleConfig returns the default configuration of the Cloudwatch input plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL