Updating an old grafana dashboard

Hello,

I am trying to update an old grafana dashboard, 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.

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)

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