JDG 7 JMX: Difference between revisions
Jump to navigation
Jump to search
Line 59: | Line 59: | ||
<pre> | <pre> | ||
jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=example | jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=example | ||
</pre> | |||
Note that the same metrics are exposed by an equivalent MBean (probably for backward compatibility reasons): | |||
<pre> | |||
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=Statistics | |||
</pre> | </pre> | ||
Revision as of 21:08, 26 October 2016
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
Note that the same metrics are exposed by an equivalent MBean (probably for backward compatibility reasons):
jboss.datagrid-infinispan:type=CacheManager,name="clustered",component=CacheContainerStats
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>
Examples
jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=example
Note that the same metrics are exposed by an equivalent MBean (probably for backward compatibility reasons):
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=Statistics
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 |