Simple server that scrapes Patroni stats and exports them via HTTP for Prometheus consumption.
To run it:
./patroni_exporter [flags]
Help on flags:
./patroni_exporter --help
For more information check the source code documentation.
--patroni.host="http://localhost"
Specify Patroni API URL using the --patroni.host
flag.
Specify Patroni API port using the --patroni.port
flag.
./patroni_exporter --patroni.host="http://localhost" --patroni.port=8008
make build
make test
Apache License 2.0, see LICENSE.