atlasdb
atlasdb copied to clipboard
Add or expose metrics for ConnectionManager pool size/stats
In particular, it's quite useful to know when number of active connections is trending towards/pinned at max as a way to alert on or diagnose connection leaks.
These metrics might also be a better version of the stats logged in HikariCPConnectionManager.logPoolStats().