Offer monitoring of number of connections
Daniel Weinshenker
Vangelis Pallis we recently introduced the ability to monitor this via scrapable metrics for most of our database engines: https://www.digitalocean.com/blog/digitalocean-scrapable-metrics-for-postgresql-mysql-redis-kafka
There are connection metrics there (for example, postgresql_pg_stat_activity_conn_count for PG).