monitoring: Database connections monitoring
Created by: tsenart
This PR adds database connection monitoring for each service that connects to Postgres. I'm introducing this to validate the hypothesis that we're contending on available connections on sourcegraph.com, which if true, explains sporadic increases in latency across the board.
This has been tested with every service running locally to avoid the duplicate metric registration issue that caused an outage on Friday.