Connection Pool , including JDBC and redis, i think it's necessary to record that how long it takes to get a connection from connection pool. What's more, metrics about connection pool, for example active connection num, idle connection num, max total num , they are useful to anaylize the performnce of the application.
The question is that how can i acheive the goals above by the current java agent?