mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
The StatusPage uses a BaseHTTPServer to server 3 simple http endpoints: - pg_master, returns 200 if PostgreSQL is running as master - pg_slave, returns 200 if PostgreSQL is running as slave - pg_status, returns some information about the cluster It does this by relying on the PostgreSQL connection of the Governor.
3 lines
16 B
Plaintext
3 lines
16 B
Plaintext
PyYAML
|
|
psycopg2
|