Add HTTPS configuration

Add the exporter-toolkit https package to allow configuring TLS and
auth.

Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
This commit is contained in:
Ben Kochie
2021-01-03 15:54:32 +01:00
committed by Calle Pettersson
parent 4b66473d2e
commit cdc81b03d5
4 changed files with 33 additions and 3 deletions

5
go.mod
View File

@@ -12,9 +12,10 @@ require (
github.com/leoluk/perflib_exporter v0.1.0
github.com/prometheus/client_golang v1.8.0
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.14.0
github.com/prometheus/common v0.15.0
github.com/prometheus/exporter-toolkit v0.4.0
golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v2 v2.4.0
)