{"repo":"fleaz/prometheus-storagebox-exporter","free":true,"listed":false,"github":"https://github.com/fleaz/prometheus-storagebox-exporter","clone":"git clone https://github.com/fleaz/prometheus-storagebox-exporter.git","description":"Prometheus exporter for Hetzner storage boxes","language":"Go","stars":29,"topics":["prometheus","prometheus-exporter","hetzner","hetzner-robot-api"],"license":"MIT","category":"analytics","readme_excerpt":"prometheus-storagebox-exporter This tool talks to the Hetzner API and gets a list of all Storage Boxes in your account and exports their statistics as Prometheus metrics on :9509/metrics . Authentication In the Cloud Console, switch to the project where your storage box is part of and generate a read-only API Token. See the Authentication chapter in the hetzner api docs. This token then needs to be provided as an environment variable. Exported Metrics Usage You need to provide your api token via environment variables. So after compiling the binary you could run it like then visit localhost:9509/metrics To expose the exporter on a different addresse, you can set LISTEN ADDRESS and set host:port . Running as Docker container This exporter can be run as Docker container as well. First you need to provide your credentials in the .env file. Then, either build and run the image manually with or use compose:","default_branch":null,"files":null,"tree":[],"storefront":"/r/fleaz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fleaz/prometheus-storagebox-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}