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

# View DNS statistics in Grafana

> Grafana panels for DNS request statistics.

DNS request counts can be shown as Grafana time-series panels. The [Grafana plugin](/developer-tools/grafana/install-the-grafana-plugin) adds the **Gcore Platform-EN** data source.

## Configure a dashboard

The panel uses the connected **Gcore Platform-EN** data source.

1. In the top bar, click **+**, then **New dashboard**.

<Frame>
  <img src="https://mintcdn.com/gcore/fmdCeBoow9zK-SZb/images/docs/dns/grafana/view-dns-statistics-in-grafana/new-dashboard-menu.png?fit=max&auto=format&n=fmdCeBoow9zK-SZb&q=85&s=efcf62e5841651c607c94b692e5f41fd" alt="Plus menu open on New dashboard" width="313" height="305" data-path="images/docs/dns/grafana/view-dns-statistics-in-grafana/new-dashboard-menu.png" />
</Frame>

2. The **Add** drawer opens on the right. Click **Panel**.

<Frame>
  <img src="https://mintcdn.com/gcore/fmdCeBoow9zK-SZb/images/docs/dns/grafana/view-dns-statistics-in-grafana/add-panel.png?fit=max&auto=format&n=fmdCeBoow9zK-SZb&q=85&s=1257a31177022f4ea3f0df4e1a9ab57c" alt="Add drawer with the Panel control" width="447" height="250" data-path="images/docs/dns/grafana/view-dns-statistics-in-grafana/add-panel.png" />
</Frame>

3. Click **Edit visualization**.

4. Under **Data source**, select **Gcore Platform-EN**.

5. Under **Edge Network**, set **Service** to **DNS**.

6. Under **Query Props**, set **Zone**, **Granularity**, and **Record type**. **Legend** is optional.

7. Click **Save**. In **Save dashboard**, enter a title and click **Save**.

The saved dashboard shows the title and the panel.

<Frame>
  <img src="https://mintcdn.com/gcore/fmdCeBoow9zK-SZb/images/docs/dns/grafana/view-dns-statistics-in-grafana/saved-dashboard.png?fit=max&auto=format&n=fmdCeBoow9zK-SZb&q=85&s=87241a7df20c4897eb35514dc975ab5e" alt="Saved dashboard with the Requests panel" width="773" height="528" data-path="images/docs/dns/grafana/view-dns-statistics-in-grafana/saved-dashboard.png" />
</Frame>

## Query fields

A DNS query returns one series of request counts. An [alert rule](/developer-tools/grafana/create-an-alert-rule) on that series changes state when the request count crosses a threshold.

**Zone:** **All Zones**, or one zone. **All Zones** returns one series of request counts with the legend `Requests (All Zones)`, and one zone uses that zone name in the legend.

**Record type:** `ALL`, `A`, `AAAA`, `NS`, `CNAME`, `MX`, `TXT`, `SVCB`, or `HTTPS`. `ALL` includes requests for all record types, and any other value limits the series to that type and appends the type to the legend.

**Granularity:** `5m`, `10m`, `15m`, `30m`, `1h`, `1.5h`, `2h45m`, or `24h`. The default value is `5m`, and each point is the number of requests in that interval.

**Legend:** optional. An empty field keeps the generated series name.

**All Zones**, granularity **5m**, and record type **ALL**:

<Frame>
  <img src="https://mintcdn.com/gcore/fmdCeBoow9zK-SZb/images/docs/dns/grafana/view-dns-statistics-in-grafana/dns-requests.png?fit=max&auto=format&n=fmdCeBoow9zK-SZb&q=85&s=6c53c688054b2bb7cc55dfc4f2ee6415" alt="DNS requests for all zones" width="658" height="447" data-path="images/docs/dns/grafana/view-dns-statistics-in-grafana/dns-requests.png" />
</Frame>
