CacheMetricsService collects various metrics about Hazelcast cache, API Performance, JVM and System Health. These metrics fall into the following categories.

  1. Hazelcast cache statistics
  2. API performance metrics
  3. JVM
  4. System Metrics

Cache MetricsLink to Cache Metrics

These metrics monitor Cache's cache performance. Efficiency is analyzed by tracking cache lookups, additions and latencies. In addition, memory cost and partition breakdown are measured.

Metric
Description
Type
cache_gets_totalTotal cache searches (hits and misses)Counter
cache_puts_totalTotal cache additionsCounter
cache_sizeCurrent number of entries in cacheGauge
cache_entriesNumber of entries per cache partitionGauge
cache_entry_memory_bytesMemory cost of cache entriesGauge
cache_gets_latency_secondsCache access latencySummary
cache_puts_latency_secondsCache insertion delaySummary
cache_removals_latency_secondsCache removal delaySummary

API MetricsLink to API Metrics

These metrics track the performance of Cache's APIs. API performance is evaluated with data such as number of requests, response time and error rates.

Metric
Description
Type
apinizer_cache_api_requests_totalTotal number of API requestsCounter
apinizer_cache_api_response_timeAPI response time (seconds)Timer
apinizer_cache_api_errors_totalTotal number of API bugsCounter

JVM MetricsLink to JVM Metrics

These metrics track Cache's memory and thread utilization. JVM performance is analyzed with data such as memory usage, GC (Garbage Collection) pause times and active threads.

Metric
Description
Type
jvm_memory_used_bytesMemory usage by space (heap/non-heap)Gauge
jvm_memory_committed_bytesMemory allocated by areaGauge
jvm_memory_max_bytesMaximum memory by areaGauge
jvm_gc_pause_secondsGC pause timeSummary
jvm_threads_live_threadsNumber of live threads availableGauge
jvm_threads_daemon_threadsNumber of available daemon threadsGauge

System MetricsLink to System Metrics

These metrics monitor Cache's overall performance with data such as CPU utilization, number of processors and load average. In addition, resource utilization is evaluated with data such as processing time and number of open files.

Metric
Description
Type
system_cpu_usageCPU utilization of the main systemGauge
system_cpu_countNumber of available processorsGauge
system_load_average_1mSystem load average (1 minute)Gauge
process_cpu_usageCPU usage of the JVM processGauge
process_uptime_secondsJVM process uptimeGauge
process_files_open_filesNumber of open file identifiersGauge