diff --git a/index.html b/index.html index 047cf7a..6e602f2 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
- + @@ -440,7 +440,7 @@__meta_hcloud_name
__meta_hcloud_status
__meta_hcloud_public_ipv4
__meta_hcloud_public_ipv6
__meta_hcloud_type
__address__
__meta_hcloud_city
__meta_hcloud_cores
__meta_hcloud_memory
__meta_hcloud_disk
__meta_hcloud_storage
__meta_hcloud_country
__meta_hcloud_cpu
__meta_hcloud_datacenter
__meta_hcloud_location
__meta_hcloud_city
__meta_hcloud_country
__meta_hcloud_disk
__meta_hcloud_image_name
__meta_hcloud_image_type
__meta_hcloud_label_<label>
__meta_hcloud_location
__meta_hcloud_memory
__meta_hcloud_name
__meta_hcloud_os_flavor
__meta_hcloud_os_version
__meta_hcloud_label_<label>
__meta_hcloud_project
__meta_hcloud_public_ipv4
__meta_hcloud_public_ipv6
__meta_hcloud_status
__meta_hcloud_storage
__meta_hcloud_type
As this project is built with Go you need to install Go first. The installation of Go is out of the scope of this document, please follow the official documentation. After the installation of Go you need to get the sources:
-go get -d github.com/promhippie/prometheus-hcloud-sd
-cd $GOPATH/src/github.com/promhippie/prometheus-hcloud-sd
All required tool besides Go itself are bundled or getting automatically installed within the GOPATH
. We are using retool to keep the used tools consistent and dep to manage the dependencies. All commands to build this project are part of our Makefile
.
# install retool
-make retool
-
-# sync dependencies
-make sync
+git clone https://github.com/promhippie/prometheus-hcloud-sd.git
+cd prometheus-hcloud-sd/
-# generate code
-make generate
+All required tool besides Go itself are bundled by Go modules, all you need is part of the Makfile
:
-# build binary
-make build
make generate build
Finally you should have the binary within the bin/
folder now, give it a try with ./bin/prometheus-hcloud-sd -h
to see all available options.