Infinispan Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* JBoss Operations Network Metrics https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.6/html-single/Administration_and_Configuration_Guide/index.html#JBoss_Operations_Network_Plugin_Metrics
=Internal=
=Internal=


* [[Infinispan Operations#Subjects|Infinispan Operations]]
* [[Infinispan Operations#Subjects|Infinispan Operations]]
* [[Infinispan Metrics Reference]]


=Relevance=
=Relevance=


* JDG 6
* JDG 7
* JDG 7


=Overview=
=Overview=


This article describes choices of metrics for Infinispan production monitoring.
This article describes choices of metrics for Infinispan production monitoring.  
 
=Metric Collection=
 
==HotRod Endpoint==
 
Bytes read count and bytes written count, which can be used to infer the read and write rate, in bytes/second (JDG 6 JMX [[Infinispan_HotRod_Connector_Metrics#totalBytesRead|totalBytesRead]], [[Infinispan_HotRod_Connector_Metrics#totalBytesWritten|totalBytesWritten]], JDG 7 JMX [[Infinispan_HotRod_Connector_Metrics#bytesRead|bytesRead]], [[Infinispan_HotRod_Connector_Metrics#bytesWritten|bytesWritten]]. It is preferable to expose these metrics as a rate per second. Some monitoring solutions allow the rate to be calculated automatically (see [[DataDog_and_JMX#Counter|Data Dog counters]]).
 
The number of worker threads (JDG 6 JMX [[Infinispan_HotRod_Connector_Metrics#numberWorkerThreads|numberWorkerThreads]]: JDG 7 JMX [[Infinispan_HotRod_Connector_Metrics#workerThreads|workerThreads]]).
 
==The Cache Container==
 
The metric at cache container level represent an aggregation of the metrics for the underlying cache and in general, are a good indicator of the activity on that specific cache node - normally, there's just one cache container.
 
Interesting metrics are:
 
* '''the number of hits, misses and stores''' at the cache container level (JDG 7 JMX [[Infinispan_Cache_Container_Metrics#hits|hits]], [[Infinispan_Cache_Container_Metrics#misses|misses]], [[Infinispan_Cache_Container_Metrics#stores|stores]]). This is an aggregation of the corresponding values for the underlying caches. It is preferable to expose these metrics as a rate per second. Some monitoring solutions allow the rate to be calculated automatically (see [[DataDog_and_JMX#Counter|Data Dog counters]]).
 
* '''the total number of entries''' at cache container level. This is an aggregation of the corresponding values for the underlying caches. For more details on the cache number of entries see [[Infinispan Cache Number of Entries]].


* '''the [[Infinispan_Cache_Container_Metrics#Average_Read_Time|average read]], [[Infinispan_Cache_Container_Metrics#Average_Write_Time|write]] and [[[[Infinispan_Cache_Container_Metrics#Average_Remove_Time||remove]] time''' for the caches managed by this container.
<blockquote style="background-color: Gold; border: solid thin Goldenrod;">
:<br>By default, Infinispan statistics are disabled, because enabling them may have a negative impact on the performance of the subsystem. Thus, statistics should be enabled only when required. For more details on how to enable statistics, see "[[Infinispan Enabling Cache Statistics|Enabling Cache Statistics]]".<br><br>
</blockquote>


==Individual Caches==
=Metrics=


<font color=red>TODO</font>.
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[HotRod Client Metrics]]
:[[Infinispan_HotRod_Connector_Metrics|HotRod Connector Metrics]]
:[[Infinispan Cache Metrics|Cache Metrics]]
:[[Infinispan Cache Manager Metrics|Cache Manager Metrics]]
</blockquote>

Latest revision as of 02:04, 28 October 2016

External

Internal

Relevance

  • JDG 6
  • JDG 7

Overview

This article describes choices of metrics for Infinispan production monitoring.


By default, Infinispan statistics are disabled, because enabling them may have a negative impact on the performance of the subsystem. Thus, statistics should be enabled only when required. For more details on how to enable statistics, see "Enabling Cache Statistics".

Metrics

HotRod Client Metrics
HotRod Connector Metrics
Cache Metrics
Cache Manager Metrics