From 98b84bd61259e45e285922185a38143f3e475b78 Mon Sep 17 00:00:00 2001 From: Henry Whitaker Date: Thu, 28 Mar 2024 13:55:16 +0000 Subject: [PATCH] chore: update dashboard --- grafana/dashboard.json | 43 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/grafana/dashboard.json b/grafana/dashboard.json index 91fa492..4cecaa4 100644 --- a/grafana/dashboard.json +++ b/grafana/dashboard.json @@ -1062,9 +1062,48 @@ "interval": "", "legendFormat": "Filter lists", "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(adguard_replaced_safesearch{server=\"$server\"})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "Replaced SafeSearch", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(adguard_replaced_safebrowsing{server=\"$server\"})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "Replaced SafeBrowsing", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(adguard_replaced_parental{server=\"$server\"})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "Replaced Parental", + "refId": "D" } ], - "title": "Ads blocked", + "title": "Queries Blocked/Replaced", "type": "timeseries" }, { @@ -1518,6 +1557,6 @@ "timezone": "", "title": "AdGuard Home Exporter", "uid": "AdGuard-Home-Exporter", - "version": 5, + "version": 6, "weekStart": "" } \ No newline at end of file