Scrapes standard Patroni stats and executes custom Postgresql queries deemed essential to monitoring by Aware SRE for active Patroni clusters. Exports metrics via HTTP for Prometheus consumption on port 9933.
Getting Started
To run it:
epg_exporter [flags]
Help on flags:
epg_exporter --help
Usage
Important: Host addresses for both Patroni and Postgres must be supplied for a successful response.
Specify Patroni API URL using the --patroni.host flag.
Specify Patroni API port using the --patroni.port flag.
Specify Postgres host using the --postgres.host flag.
Specify Postgres user using the --postgres.user flag.
Specify Postgres password using the --postgres.password flag.
Specify Postgres post using the --postgres.port flag.
Specify Postgres database using the --postgres.database flag.