Example PromQL Queries for Apinizer Cache
Below are sample PromQL queries that you can use to analyze Apinizer Cache metrics.
Cache Analytics
Metrics used to monitor cache utilization and efficiency. Performance is evaluated with data such as cache lookups, additions and memory consumption.
1. Total Number of Cache Searches (for 1 hour)
TEXT
2. Number of Cache Inserts (for 10 minutes)
TEXT
3. Cache Hit Rate (%) (for 5 minutes)
TEXT
4. Number of Available Entries in the Cache
TEXT
5. Cache Features with Highest Memory Utilization
TEXT
Cache API Analysis
Cache is used to monitor the performance of API requests. The responsiveness of the system is analyzed with data such as the number of API requests and success rate.
1. Total Number of API Requests (for 1 hour)
TEXT
2. API Success Rate (%) (for 10 minutes)
TEXT
JVM Analytics
By monitoring the JVM's memory usage, GC (Garbage Collector) pause times and the number of threads, the application's resource consumption and performance are evaluated.
1. Memory Utilization Percentage
TEXT
2. Garbage Collection Time (for 5 minutes)
TEXT
3. Number of Live Threads Available
TEXT
System Analysis
Overall resource utilization and performance of the system is monitored with data such as CPU utilization, processing time and open file descriptor counts.
1. CPU Utilization of Pods
TEXT
2. JVM Process Time (seconds)
TEXT
3. Number of Open File Identifiers
TEXT