# Updating an old grafana dashboard

**URL:** <https://discuss.prometheus.io/t/updating-an-old-grafana-dashboard/3158>\
**Category:** PromQL\
**Created:** [October 10, 2024, 12:24pm UTC](https://discuss.prometheus.io/t/updating-an-old-grafana-dashboard/3158 "2024-10-10T12:24:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CanadaBri](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@CanadaBri](https://discuss.prometheus.io/u/CanadaBri)\
**Post date:** [October 10, 2024, 12:24pm UTC](https://discuss.prometheus.io/t/updating-an-old-grafana-dashboard/3158/1 "2024-10-10T12:24:13Z")

</div>

Hello,

I am trying to update an [old grafana dashboard](https://grafana.com/grafana/dashboards/3969-prometheus-ad-and-dns/), but the new queries are not returning data, although checking the metrics indicates there is data.

I am not using wmi\_exporter - I have changed that to windows\_exporter. I have updated the metric accordingly.

```auto
sum(delta(wmi_dns_queries_total{protocol="udp"}[1m]))

changed to

sum(delta(windows_dns_queries_total{protocol="udp"}[1m]))

```

If I browse to my domain controller :9182/metrics, I do see values for that metric.

If I run `sum(delta(windows_dns_queries_total{protocol="udp"}[1m]))`

It gets no results.

If I run `windows_dns_queries_total{protocol="udp"}`

I see the values.

How would I update the syntax of the query so that the intended results are being shown (# DNS queries in the # minutes)

---

<div class="post-metadata">

**Author:** ![CanadaBri](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@CanadaBri](https://discuss.prometheus.io/u/CanadaBri)\
**Post date:** [October 10, 2024, 1:46pm UTC](https://discuss.prometheus.io/t/updating-an-old-grafana-dashboard/3158/2 "2024-10-10T13:46:49Z")

</div>

I guess my configured scrape interval was too long (5m). Changing that to 30s made the dashboard start to light up
