very simple queries and tests replication lag are merely a Particular scenario of operating arbitrary SQL queries to be a health check, so we just centered on this a person and carried out the Some others as being a https://tornadosocial.com/story3596305/top-guidelines-of-postgresql-health-check-service