Overview of Apinizer Cache Metrics
CacheMetricsService collects various metrics about Hazelcast cache, API Performance, JVM and System Health. These metrics fall into the following categories.
- Hazelcast cache statistics
- API performance metrics
- JVM
- System Metrics
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_total | Total cache searches (hits and misses) | Counter |
cache_puts_total | Total cache additions | Counter |
cache_size | Current number of entries in cache | Gauge |
cache_entries | Number of entries per cache partition | Gauge |
cache_entry_memory_bytes | Memory cost of cache entries | Gauge |
cache_gets_latency_seconds | Cache access latency | Summary |
cache_puts_latency_seconds | Cache insertion delay | Summary |
cache_removals_latency_seconds | Cache removal delay | Summary |
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_total | Total number of API requests | Counter |
apinizer_cache_api_response_time | API response time (seconds) | Timer |
apinizer_cache_api_errors_total | Total number of API bugs | Counter |
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_bytes | Memory usage by space (heap/non-heap) | Gauge |
jvm_memory_committed_bytes | Memory allocated by area | Gauge |
jvm_memory_max_bytes | Maximum memory by area | Gauge |
jvm_gc_pause_seconds | GC pause time | Summary |
jvm_threads_live_threads | Number of live threads available | Gauge |
jvm_threads_daemon_threads | Number of available daemon threads | Gauge |
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_usage | CPU utilization of the main system | Gauge |
system_cpu_count | Number of available processors | Gauge |
system_load_average_1m | System load average (1 minute) | Gauge |
process_cpu_usage | CPU usage of the JVM process | Gauge |
process_uptime_seconds | JVM process uptime | Gauge |
process_files_open_files | Number of open file identifiers | Gauge |