JDG 7 JMX: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:


{|
{|
| <span id="statisticsEnabled">statisticsEnabled</span>|| [[Infinispan_Enabling_Cache_Statistics#Status|Enabling Cache Statistics]]
| <span id="statistics">statistics</span>|| [[Infinispan_Enabling_Cache_Statistics#Status|Enabling Cache Statistics]]
|-
|-
| <span id="averageReadTime">averageReadTime</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]
| <span id="averageReadTime">averageReadTime</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]

Revision as of 17:22, 26 October 2016

TODO it seems the same metrics are exposed under different domains/beans. Clarify.

jboss.as:subsystem=datagrid-infinispan-endpoint,hotrod-connector=hotrod-connector

bytesRead HotRod Connector Metrics
bytesWritten HotRod Connector Metrics
workerThreads HotRod Connector Metrics

The JMX interface does not expose the number of active connections.

jboss.as:subsystem=datagrid-infinispan,cache-container=<cache-container-name>

Example:

jboss.as:subsystem=datagrid-infinispan,cache-container=clustered
statistics Enabling Cache Statistics
averageReadTime Cache Metrics
averageWriteTime Cache Metrics
averageRemoveTime Cache Metrics
numberOfEntries Infinispan Cache Number of Entries
hits Cache Metrics
misses Cache Metrics
stores Cache Metrics
removeHits Cache Metrics
removeMisses Cache Metrics
readWriteRatio Cache Metrics
hitRatio Cache Metrics

jboss.as:subsystem=datagrid-infinispan,cache-container=<container-name>,<mode>-cache=<cache-name>

Example:

jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=example
statisticsEnabled Enabling Cache Statistics
averageReadTime Cache Metrics
averageWriteTime Cache Metrics
averageRemoveTime Cache Metrics
numberOfEntries Infinispan Cache Number of Entries
hits Cache Metrics
misses Cache Metrics
stores Cache Metrics
removeHits Cache Metrics
removeMisses Cache Metrics
readWriteRatio Cache Metrics
hitRatio Cache Metrics