
This commit relaxes the class condition to ConnectionFactory, checking if the connection factory is a connection pool and bind its metrics to the registry accordingly. Closes gh-20349
This commit relaxes the class condition to ConnectionFactory, checking if the connection factory is a connection pool and bind its metrics to the registry accordingly. Closes gh-20349