Ehcache - Monitoring Extension

Ehcache Monitoring Extension


This extension works only with the standalone machine agent.


Use Case


Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. The ehcache-monitoring extension gathers metrics for a specific ehcache server and sends them to the AppDynamics Metric Browser.




  1. Download the attached zip file and unzip it into the <machineagent install dir>/monitors/ directory.
  2. Open <machineagent install dir>/monitors/EhcacheMonitor/monitor.xml and configure the Ehcache parameters:

        <argument name="host" is-required="true" default-value="localhost" /> 
      <argument name="port" is-required="true" default-value="8080" />


  3. Restart the machine agent.
  4. In the AppDynamics Metric Browser, look for: Application Infrastructure Performance | <Tier> | Custom Metrics | Ehcache




Metric NameDescription
averageGetTimeThe average time to retrieve the requested item from the cache
cacheHitsThe number of times a requested item was found in the cache
diskStoreSizeThe size of the disk store
evictionCountThe number of cache evictions, since the cache was created, or statistics were cleared
inMemoryHitsNumber of times a requested item was found in the memory store
memoryStoreSizeThe size of the memory store
missesNumber of times a requested item was not found in the cache
onDiskHitsNumber of kepspace misses per minute
sizeSize of the cache


Custom Dashboard





Always feel free to fork and contribute any changes directly via GitHub.




Find out more in the AppSphere community.




For any questions or feature request, please contact AppDynamics Center of Excellence.






Last Update: