qubole / rubix

Cache File System optimized for columnar formats and object stores
Apache License 2.0
183 stars 74 forks source link

Publish jmx metrics for connection pool #380

Open shubhamtagra opened 4 years ago

shubhamtagra commented 4 years ago

Adding following jmx metrics, per host level, should help in debugging leaked connections:

harmandeeps commented 4 years ago

We can keep discarded connections count too while returning a connection to the pool.

shubhamtagra commented 4 years ago

We can keep discarded connections count too while returning a connection to the pool.

yes, that should also be published.