Simple queries and testing replication lag are only a Particular case of working arbitrary SQL queries as being a health check, so we just focused on this a single and applied the Some others as being a type of https://bookmarksystem.com/story18023159/top-guidelines-of-postgresql-health-check-service