15.6. Enable Infinispan Statistics Collection

Statistics collection can be enabled from either the startup configuration file (for example standalone.xml, standalone-ha.xml, domain.xml) or the management CLI.

15.6.1. Enable Infinispan Statistics Collection in the Startup Configuration File

Procedure 15.3. Enable Infinispan Statistics in the Startup Configuration File

  • Add the attribute statistics-enabled=VALUE to the required cache-container or cache XML tag under the Infinispan subsystem.

Example 15.2. Enable Statistics Collection for a cache


<replicated-cache name="sso" mode="SYNC" batching="true" statistics-enabled="true"/>

Example 15.3. Enable Statistics Collection for a cache-container


<cache-container name="singleton" aliases="cluster ha-partition" default-cache="default" statistics-enabled="true">