> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example Dashboards on Grafana for Apinizer Cache

> Provides example dashboard panel configurations that can be used on Grafana to visualize Apinizer Cache metrics. Includes ready-made panel examples that visualize metrics such as cache lookups, memory usage, and API request counts. References related documentation for Grafana Setup and Prometheus Integration as a Data Source.

# Example Dashboards on Grafana for Apinizer Cache

<Info>
  For Grafana Setup and Prometheus Integration as a Data Source, you can refer to the [related documentation](/en/operations/administrator-guides/grafana-prometheus-data-source).
</Info>

## Panel 1: Cache Lookups Per Second

<Card title="PromQL Query" icon="code">
  ```promql theme={null}
  topk(5, sum by (cache) (rate(cache_gets_total{cache=~".*"}[2h])))
  ```
</Card>

**Visualization:** Gauge

<img src="https://mintcdn.com/apinizer/LoT_QidIA2t_0Oih/images/operations/cache1.png?fit=max&auto=format&n=LoT_QidIA2t_0Oih&q=85&s=c67327c4ad61e2209db32b39aad7453c" alt="Panel 1: Cache Lookups Per Second" width="800" height="400" data-path="images/operations/cache1.png" />

## Panel 2: Cache Features with Highest Memory Usage

<Card title="PromQL Query" icon="code">
  ```promql theme={null}
  topk(5, sum by (cache) (cache_entry_memory_bytes))
  ```
</Card>

**Visualization:** Bar gauge or Bar chart

<img src="https://mintcdn.com/apinizer/LoT_QidIA2t_0Oih/images/operations/cache2.png?fit=max&auto=format&n=LoT_QidIA2t_0Oih&q=85&s=e44784e81b23582ee13ecdaa4c3f75cd" alt="Panel 2: Cache Features with Highest Memory Usage" width="800" height="400" data-path="images/operations/cache2.png" />

## Panel 3: Total API Requests (for 1 hour)

<Card title="PromQL Query" icon="code">
  ```promql theme={null}
  sum(increase(apinizer_cache_api_requests_total[1h]))
  ```
</Card>

**Visualization:** Bar chart or stat

<img src="https://mintcdn.com/apinizer/LoT_QidIA2t_0Oih/images/operations/cache3.png?fit=max&auto=format&n=LoT_QidIA2t_0Oih&q=85&s=ae12d082ac7001016084e71bcfd7b942" alt="Panel 3: Total API Requests" width="800" height="400" data-path="images/operations/cache3.png" />
