We have set up a series of uptime checks on all of our online services.
The last one is our Postgres DB. Given the connection URL in the format of:
postgres://username:password@domain-name:port/restriction
Does postgres comes out of the box with an http-callable url that would return a 200
if DB is up and 500
or nothing is DB is down?