Added argument (and env-var) to specify health-bind-address.
This commit is contained in:
parent
58c7c41905
commit
c7c83926e1
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue