Ana içeriğe geç

Example Dashboards on Grafana for Apinizer Cache

bilgi

For Grafana Installation and Prometheus Integration as Data Source, you can check the Prometheus and Grafana Installation page.

Panel 1: Cache Searches Per Second

PromQL Query:

topk(5, sum by (cache) (rate(cache_gets_total{cache=~".*"}[2h])))

Visualization: Gauge

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 3: Total API Requests (for 1 hour)

PromQL Query:

sum(increase(apinizer_cache_api_requests_total[1h]))

Visualization: Bar chart or stat