Added argument (and env-var) to specify health-bind-address.

This commit is contained in:
Mathias Kaufmann 2018-04-22 10:45:02 +02:00
parent 58c7c41905
commit c7c83926e1
No known key found for this signature in database
GPG Key ID: 66D500110E370C84
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ var (
metrics = flag.Bool("metrics", false, "Enable metrics export")
verbose = flag.Bool("v", false, "Enable verbose logging.")
healtcheck = flag.Bool("healthcheck", false, "Enable healthcheck endpoint.")
healtbind = flag.String("healthbind", "[::]:8086", "Healthcheck bind address and port.")
clients_tls_total = prometheus.NewCounter(
prometheus.CounterOpts{