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 --helpFor 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=8008make buildmake testApache License 2.0, see LICENSE.