Open
Description
We used to use pg and pg-pool which would expose the number of connections in use and the number available.
Our use case is that this would let us have a health endpoint that our load balancer could use to determine if the server is overloaded query-wise (cpu and request could could still be low but connections could be maxed out and queries taking too long for some reason).
Is there any way to do this?