Be able to monitor EhCache usage in an application.


Just drop the EhCache jar. If EhCache CacheManager are already created the org.apache.sirona.agent.ehcache.EhCacheGaugeFactory will fond them and monitor them. If not you’ll need to register the gauges yourself calling Repository.Instance.addGauge() for each gauge returned by org.apache.sirona.agent.ehcache.EhCacheGaugeFactory#register.

Data monitored

The EhCache monitoring provides the following gauges for each cache:

And the following for each cache manager: