messaginghub / pooled-jms

A JMS Connection pool for messaging applications supporting JMS 1.1 and 2.0 and Jakarta JMS clients
Apache License 2.0
49 stars 25 forks source link

Expose pool metrics #27

Open fdlk opened 2 years ago

fdlk commented 2 years ago

We are running pooled-jms in kubernetes and it would be useful to have jms pool metrics (e.g. number of active / idle connections and sessions per pool) so we can monitor what's going on in our pods.

I noticed that micrometer by default already exposes all pool metrics, but they expect that jmx is enabled. So I think that a feature to enable jmx on the pool would work for us as well.