Infinispan Monitoring

From NovaOrdis Knowledge Base
Revision as of 17:44, 27 October 2016 by Ovidiu (talk | contribs) (→‎TO REVIEW)
Jump to navigation Jump to search

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 Connector Metrics
Cache Metrics
Cache Manager Metrics

Everything Below Must Be Reviewed

TO REVIEW

clusterwide-hits

A long representing the clustered number of cache attribute hits. May return null if the cache is not started. Also see hits.

hits

A long representing the number of cache attribute hits for a specific node. May return null if the cache is not started. Also see clusterwide-hits.

misses

A long representing the number of cache attribute misses for a specific node. May return null if the cache is not started. Also see clusterwide-misses.

stores

A long representing the number of put operations for this specific node. May return null if the cache is not started. Also see clusterwide-stores.


clusterwide-hit-ratio

A read-only double representing the cluster-wide hit/miss ratio for the cache (hits/hits+misses). May return null if the cache is not started. Also see read-write-ratio.

hit-ratio

A double representing the hit/miss ratio for the this node (hits/hits+misses), where the number of successful attempts is divided by the total number of attempts. Expressed in percentage. May return null if the cache is not started. Also see clusterwide-read-write-ratio.

clusterwide-read-write-ratio

A read-only double representing the cluster-wide read/write ratio of the cache ((hits+misses)/stores). May return null if the cache is not started.

read-write-ratio

A double representing the read/write ratio of the cache ((hits+misses)/stores) for this specific node. May return null if the cache is not started.

clusterwide-remove-misses

A read-only long representing the cluster-wide number of cache attribute remove misses. May return null if the cache is not started.

clusterwide-remove-hits

A read-only long representing the cluster-wide number of cache attribute remove hits. May return null if the cache is not started. Also see remove-hits.

remove-hits

A long representing the number of cache attribute remove hits for the particular node in question. Also see clusterwide-remove-hits.

remove-misses

A long representing the number of cache removal misses, where the removal was attempted but the key was not found. May return null if the cache is not started.


cache-loader-stores

The number (as long) of cache loader store operations, for this specific node. May return null if the cache is not started.

cache-loader-loads

The number (as long) of cache loader load operations, for this specific node. May return null if the cache is not started.

cache-loader-misses

The long representing the cache loader miss operation, for this specific node. May return null if the cache is not started.

prepares

The long representing the number of transaction prepares, since the last reset. May return null if the cache is not started.

commits

The long representing the number of transaction commits, since the last reset. May return null if the cache is not started.

rollbacks

The long representing the number of transaction rollbacks, since the last reset. May return null if the cache is not started.

number-of-locks-available

An integer representing the number of exclusive locks available to this cache. Maintained by LockManager.