Skip to main content

Example Dashboards on Grafana for Apinizer Cache

For Grafana Setup and Prometheus Integration as a Data Source, you can refer to the related documentation.

Panel 1: Cache Lookups Per Second

PromQL Query

topk(5, sum by (cache) (rate(cache_gets_total{cache=~".*"}[2h])))
Visualization: Gauge Panel 1: Cache Lookups Per Second

Panel 2: Cache Features with Highest Memory Usage

PromQL Query

topk(5, sum by (cache) (cache_entry_memory_bytes))
Visualization: Bar gauge or Bar chart Panel 2: Cache Features with Highest Memory Usage

Panel 3: Total API Requests (for 1 hour)

PromQL Query

sum(increase(apinizer_cache_api_requests_total[1h]))
Visualization: Bar chart or stat Panel 3: Total API Requests