Infinispan Enabling Cache Statistics: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Infinispan Operations#Subjects =Turning The Statistics On= ==EAP 6.4== ===Configuration File=== Per cache container: <pre> <cache-container name="..." ....") |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Infinispan Operations#Subjects]] | * [[Infinispan Operations#Subjects|Infinispan Operations]] | ||
=Turning The Statistics On= | =Turning The Statistics On= |
Revision as of 16:55, 26 October 2016
Internal
Turning The Statistics On
EAP 6.4
Configuration File
Per cache container:
<cache-container name="..." ... statistics-enabled="true"> ... </cache-container>
Per cache:
<replicated-cache name="..." ... statistics-enabled="true"/> <distributed-cache name="..." ... statistics-enabled="true"/>
CLI
/subsystem=infinispan/cache-container=<cache-container-name>:write-attribute(name=statistics-enabled,value=true) /subsystem=infinispan/cache-container=<cache-container-name>/<cache-type>=<cache-name>:write- attribute(name=statistics-enabled,value=true) reload
Test
/subsystem=infinispan/cache-container=<cache-container-name>:read-attribute(name=statistics-enabled) /subsystem=infinispan/cache-container=<cache-container-name>/<cache-type>=<cache-name>:read-attribute(name=statistics-enabled)
JDG 6.6
Configuration File
Per cache container:
<cache-container name="..." ... statistics="true"> ... </cache-container>
Per cache:
<replicated-cache name="..." ... statistics="true"/> <distributed-cache name="..." ... statistics="true"/>
CLI
/subsystem=infinispan/cache-container=<cache-container-name>:write-attribute(name=statistics,value=true) /subsystem=infinispan/cache-container=<cache-container-name>/<cache-type>=<cache-name>:write-attribute(name=statistics,value=true) reload
Test
/subsystem=infinispan/cache-container=<cache-container-name>:read-attribute(name=statistics) /subsystem=infinispan/cache-container=<cache-container-name>/<cache-type>=<cache-name>:read-attribute(name=statistics)