JDG 7 JMX: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<font color=red>TODO it seems the same metrics are exposed under different domains/beans. Clarify.</font>
=jboss.as:subsystem=datagrid-infinispan-endpoint,hotrod-connector=hotrod-connector=
=jboss.as:subsystem=datagrid-infinispan-endpoint,hotrod-connector=hotrod-connector=


Line 21: Line 18:
<pre>
<pre>
jboss.as:subsystem=datagrid-infinispan,cache-container=clustered
jboss.as:subsystem=datagrid-infinispan,cache-container=clustered
</pre>
Note that the same metrics are exposed by an equivalent MBean (probably for backward compatibility reasons):
<pre>
jboss.datagrid-infinispan:type=CacheManager,name="clustered",component=CacheContainerStats
jboss.datagrid-infinispan:type=CacheManager,name="clustered",component=CacheManager
</pre>
</pre>


{|
{|
| <span id="statistics">statistics</span>|| [[Infinispan_Enabling_Cache_Statistics#Status|Enabling Cache Statistics]]
| <span id="statistics">statistics</span>|| [[Infinispan_Enabling_Cache_Statistics#Status|Enabling Cache Statistics]]
|-
| <span id="created_cache_count">createdCacheCount</span>|| [[Infinispan_Cache_Manager_Metrics#Defined_Cache_Count.2C_Created_Cache_Count|Cache Manager Metrics]]
|-
| <span id="cluster_members">members, clusterMembers</span>|| [[Infinispan_Cache_Manager_Metrics#Cluster_Members|Cache Manager Metrics]] || Different MBeans expose this metric under different names.
|-
|-
| <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]]
Line 56: Line 64:
<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 equivalent MBeans (probably for backward compatibility reasons):
<pre>
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=Cache
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=Statistics
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=RpcManager
</pre>
</pre>


{|
{|
| <span id="statisticsEnabled_individual_cache">statisticsEnabled</span>|| [[Infinispan_Enabling_Cache_Statistics#Status|Enabling Cache Statistics]]
| <span id="statistics_individual_cache">statistics</span>|| [[Infinispan_Enabling_Cache_Statistics#Status|Enabling Cache Statistics]]
|-
| <span id="cache_status">cacheStatus</span>|| [[Infinispan Cache Metrics#Cache_Status|Cache Status]]
|-
|-
| <span id="averageReadTime_individual_cache">averageReadTime</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]
| <span id="averageReadTime_individual_cache">averageReadTime</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]
Line 82: Line 100:
|-
|-
| <span id="hitRatio_individual_cache">hitRatio</span>|| [[Infinispan_Cache_Metrics#Read.2C_Write_and_Remove_Count|Cache Metrics]]
| <span id="hitRatio_individual_cache">hitRatio</span>|| [[Infinispan_Cache_Metrics#Read.2C_Write_and_Remove_Count|Cache Metrics]]
|-
| <span id="replication_count">replicationCount</span>|| [[Infinispan_Cache_Metrics#Clustering_Performance_Statistics|Clustering Performance Statistics]]
|-
| <span id="replication_failures">replicationFailures</span>|| [[Infinispan_Cache_Metrics#Clustering_Performance_Statistics|Clustering Performance Statistics]]
|-
| <span id="average_replication_time">averageReplicationTime</span>|| [[Infinispan_Cache_Metrics#Clustering_Performance_Statistics|Clustering Performance Statistics]]
|-
| <span id="success_ratio">successRatio</span>|| [[Infinispan_Cache_Metrics#Clustering_Performance_Statistics|Clustering Performance Statistics]]
|-
| <span id="success_ratio_floating_point">successRatioFloatingPoint</span>|| [[Infinispan_Cache_Metrics#Clustering_Performance_Statistics|Clustering Performance Statistics]]
|-
|-
|}
|}

Latest revision as of 17:25, 27 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
jboss.datagrid-infinispan:type=CacheManager,name="clustered",component=CacheManager
statistics Enabling Cache Statistics
createdCacheCount Cache Manager Metrics
members, clusterMembers Cache Manager Metrics Different MBeans expose this metric under different names.
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 equivalent MBeans (probably for backward compatibility reasons):

jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=Cache
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=Statistics
jboss.datagrid-infinispan:type=Cache,name="example(dist_sync)",manager="clustered",component=RpcManager
statistics Enabling Cache Statistics
cacheStatus Cache Status
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
replicationCount Clustering Performance Statistics
replicationFailures Clustering Performance Statistics
averageReplicationTime Clustering Performance Statistics
successRatio Clustering Performance Statistics
successRatioFloatingPoint Clustering Performance Statistics