straightforward queries and screening replication lag are only a special scenario of managing arbitrary SQL queries for a health check, so we just centered on this one and implemented the Some others to be a sort of https://www.ralantech.com/postgresql-database-health-check-consulting-service/