BigMemory 4.3.10 | Product Documentation | Terracotta Management Console User Guide | Integration with Prometheus | Cache Metrics
 
Cache Metrics
Following is the list of available metrics and their labels. All the metrics returned are of type Gauge.
Prometheus Metric Name
Metric Description
sag_bm_average_get_time_most_recent_sample_nano_seconds
Most recent sample of average get time taken for a get operation
sag_bm_cache_eviction_rate
Entry evictions per second
sag_bm_cache_hit_rate
Cache hits per second
sag_bm_cache_miss_rate
Cache misses per second
sag_bm_cache_put_rate
Puts per second
sag_bm_cache_remove_rate
Removes per second
sag_bm_cache_search_rate
Searches per second
sag_bm_cache_update_rate
Updates per second
sag_bm_non_stop_failure_rate
The number of failed nonStop operations per second
sag_bm_non_stop_timeout_rate
The number of nonStop timeouts per second
sag_bm_put_if_absent_miss_rate
The rate of putIfAbsent operations that missed
sag_bm_put_if_absent_success_rate
The rate of putIfAbsent operations that succeeded
sag_bm_remove_element_miss_rate
The rate of removeElement operations that missed
sag_bm_remove_element_success_rate
The rate of removeElement operations that succeeded
sag_bm_replace_one_arg_miss_rate
The rate of one replace arg operation that missed
sag_bm_replace_one_arg_success_rate
The rate of one replace arg operation that succeeded
sag_bm_replace_two_arg_miss_rate
The rate of two replace arg operations that missed
sag_bm_replace_two_arg_success_rate
The rate of two replace arg operations that succeeded
All the exposed cache metrics have the following labels/key-value pairs:
Cache Metric Label
Label Description
cache_name
Name of the cache
cache_manager_name
Name of the cache manager
cluster_name
Name of the connection set by the user in the TMC web application
client_id
The address (“<host>:<port>”) of the caching client. It is equivalent to the value under the “Connected Clients” heading in the TMC web application.
For Example
sag_bm_cache_hit_rate{cache_name="c1",cache_manager_name="CM1",
cluster_name="MyCluster",client_id="127.0.0.1:57172",}