Skip to content

Gather metrics from Hetzner Cloud resources

License

Notifications You must be signed in to change notification settings

owncloud-ops/telegraf-hcloud

Repository files navigation

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.

About

Gather metrics from Hetzner Cloud resources

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •