Closed jeffblake closed 4 years ago
Instrumenting the connection pool usage would also be nice, so we can check if the connection pool is too big or too small
Do either of you guys have an example of checking connection health?
@atomical I've forked the gem and added the ability to add an arbitrary connection health check here https://github.com/mmontagna/healthy_pools
Also interested in instrumenting the GEM, anybody have pointers?
I'm trying to set up a scheduler that measures the average time it takes to checkout a connection from the pool, and the query time spent while using it, and logging that to
$stdout
in a format Librato can understand. Can this be done? Or even better,ActiveSupport::Notification
support, or some sort of genericLogSubscriber
.