telegraf-hcloud

module
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

README

telegraf-hcloud

Build Status

Gather metrics from Hetzner Cloud resources.

Configuration

[[inputs.hcloud]]
  ## List of Hetzner Cloud resources to monitor.
  resources = [
    "load_balancers"
  ]

  ## Hetzner API token.
  token = ""

Metrics

  • hcloud_load_balancer
    • tags:
      • location
      • name
    • fields:
      • open_connections (float)
      • requests_per_second (float)
      • bandwidth_in (float)
      • bandwidth_out (float)
      • connections_per_second (float)
      • max_connections (float)
  • hcloud_load_balancer
    • tags:
      • id
      • location
      • name
      • protected
      • type
    • fields:
      • info (float)

Example Output

hcloud_load_balancer,id=af22,location=nbg1,name=download,protected=false,type=lb11 info=1i 1692800482205737603
hcloud_load_balancer,location=nbg1,name=download max_connections=10000i,bandwidth_in=1724,bandwidth_out=25727,connections_per_second=3,open_connections=39,requests_per_second=0 1692800482205737603

Build

Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions.

make build
./dist/telegraf-hcloud --help

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Directories

Path Synopsis
cmd
telegraf-hcloud command
plugins

Jump to

Keyboard shortcuts

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