No description
Find a file
Stefan Schwarz c562a21e8c go module
2019-04-25 09:57:23 +02:00
go.mod go module 2019-04-25 09:57:23 +02:00
promgate.go add option to disable tls 2019-02-21 16:54:19 +01:00
README.md update docs 2019-02-22 19:25:49 +01:00

Promgate

Promgate is a pure go-stdlib mutal tls reverse proxy to merge multiple prometheus exporters together.

All exporters are are queried in parallel and appendend line wise. The goal is to transmit the metrics, not to keep the help texts.

It's configured entirely using environment variables. You may scream for flags, but i happen like Systemd's environment files.

Usage:

CA=ca.pem \
CRL=crl.pem \
CERT=cert.pem \
KEY=key.pem \
URLS=http://localhost:9100/metrics,http://localhost:9101 \
go run promgate.go

Note: You can disable TLS by setting DISABLE_TLS to anything (even empty).

URLS is a single URL or a list of comma sperated urls. The scheme (i.e. http://) is required.