{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "This is a Adguard dashboard when using the https://github.com/ebrianne/adguard-exporter Prometheus exporter", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 13330, "graphTooltip": 0, "id": 13, "links": [], "liveNow": false, "panels": [ { "collapsed": false, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 60, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "refId": "A" } ], "title": "AdGuard Home", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "Stopped" }, "1": { "text": "Enabled" } }, "type": "value" } ], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-red", "value": null }, { "color": "dark-green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 0, "y": 1 }, "id": 84, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "10.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_running{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "Status", "transparent": true, "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "Stopped" }, "1": { "text": "Enabled" } }, "type": "value" } ], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-red", "value": null }, { "color": "dark-green", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 3, "y": 1 }, "id": 102, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_protection_enabled{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "Protection", "transparent": true, "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green", "value": null }, { "color": "dark-orange", "value": 0.05 }, { "color": "dark-red", "value": 0.1 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 6, "y": 1 }, "id": 101, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_avg_processing_time{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ legend }}", "refId": "A" } ], "title": "Processing TIme", "transparent": true, "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 9, "y": 1 }, "id": 82, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_num_dns_queries{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "Number of queries", "transparent": true, "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 12, "y": 1 }, "id": 80, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_num_blocked_filtering{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "Domains being blocked", "transparent": true, "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 40 }, { "color": "red", "value": 80 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 15, "y": 1 }, "id": 92, "links": [], "maxDataPoints": 1000, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_num_blocked_filtering{hostname=~'$node'} / adguard_num_dns_queries{hostname=~'$node'} * 100", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "Percent of ads blocked", "transparent": true, "type": "stat" }, { "aliasColors": {}, "breakPoint": "50%", "combine": { "label": "Others", "threshold": 0 }, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fontSize": "80%", "format": "short", "gridPos": { "h": 7, "w": 3, "x": 18, "y": 1 }, "id": 95, "legend": { "percentage": true, "show": false, "values": true }, "legendType": "On graph", "links": [], "maxDataPoints": 3, "nullPointMode": "connected", "pieType": "donut", "pluginVersion": "7.3.1", "strokeWidth": 1, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_top_queried_domains{hostname=~'$node'}", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ domain }}", "refId": "A" } ], "title": "Top queries by domain", "transparent": true, "type": "grafana-piechart-panel", "valueName": "avg" }, { "aliasColors": {}, "breakPoint": "50%", "combine": { "label": "Others", "threshold": 0 }, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fontSize": "80%", "format": "short", "gridPos": { "h": 7, "w": 3, "x": 21, "y": 1 }, "id": 99, "legend": { "percentage": true, "show": false, "values": true }, "legendType": "On graph", "links": [], "maxDataPoints": 3, "nullPointMode": "connected", "pieType": "donut", "pluginVersion": "7.3.1", "strokeWidth": 1, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_top_blocked_domains{hostname=~'$node'}", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ domain }}", "refId": "A" } ], "title": "Top ads by domain", "transparent": true, "type": "grafana-piechart-panel", "valueName": "avg" }, { "aliasColors": { "pihole": "super-light-blue" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 11, "x": 0, "y": 4 }, "hiddenSeries": false, "id": 66, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "10.2.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_num_dns_queries{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ hostname }}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "DNS queries all of types", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:100", "format": "short", "logBase": 1, "show": true }, { "$$hashKey": "object:101", "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 11, "w": 7, "x": 11, "y": 4 }, "hiddenSeries": false, "id": 97, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "10.2.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_query_types{hostname=~'$node'}", "interval": "", "legendFormat": "{{ type }}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "DNS Query Types", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "breakPoint": "50%", "combine": { "label": "Others", "threshold": 0 }, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fontSize": "80%", "format": "short", "gridPos": { "h": 7, "w": 3, "x": 18, "y": 8 }, "id": 100, "legend": { "percentage": true, "show": false, "values": true }, "legendType": "On graph", "links": [], "maxDataPoints": 3, "nullPointMode": "connected", "pieType": "donut", "pluginVersion": "7.3.1", "strokeWidth": 1, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_query_types{hostname=~'$node'}", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ type }}", "refId": "A" } ], "title": "Replies by type", "transparent": true, "type": "grafana-piechart-panel", "valueName": "avg" }, { "aliasColors": {}, "breakPoint": "50%", "combine": { "label": "Others", "threshold": 0 }, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fontSize": "80%", "format": "short", "gridPos": { "h": 7, "w": 3, "x": 21, "y": 8 }, "id": 98, "legend": { "percentage": true, "show": false, "values": true }, "legendType": "On graph", "links": [], "maxDataPoints": 3, "nullPointMode": "connected", "pieType": "donut", "pluginVersion": "7.3.1", "strokeWidth": 1, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_top_clients{hostname=~'$node'}", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ client }}", "refId": "A" } ], "title": "Top clients by source", "transparent": true, "type": "grafana-piechart-panel", "valueName": "avg" }, { "aliasColors": { "pihole": "light-red" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 11, "x": 0, "y": 12 }, "hiddenSeries": false, "id": 62, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "10.2.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_num_blocked_filtering{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ hostname }}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Ads blocked", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:302", "format": "short", "logBase": 1, "show": true }, { "$$hashKey": "object:303", "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "columns": [], "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fontSize": "100%", "gridPos": { "h": 9, "w": 13, "x": 11, "y": 15 }, "id": 93, "links": [], "scroll": true, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "date" }, { "alias": "", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_top_clients{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ client }}", "refId": "A" } ], "title": "Top clients", "transform": "table", "transparent": true, "type": "table-old" }, { "aliasColors": { "pihole": "super-light-red" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 11, "x": 0, "y": 20 }, "hiddenSeries": false, "id": 64, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "10.2.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_num_blocked_filtering{hostname=~'$node'} / adguard_num_dns_queries{hostname=~'$node'} * 100", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ hostname }}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "% of ads blocked", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:355", "format": "percent", "logBase": 1, "show": true }, { "$$hashKey": "object:356", "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "columns": [], "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "100%", "gridPos": { "h": 10, "w": 13, "x": 11, "y": 24 }, "id": 90, "links": [], "scroll": true, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "date" }, { "alias": "", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_top_blocked_domains{hostname=~'$node'}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ domain }}", "refId": "A" } ], "title": "Top ads domains", "transform": "timeseries_to_rows", "transparent": true, "type": "table-old" }, { "columns": [], "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "100%", "gridPos": { "h": 7, "w": 11, "x": 0, "y": 27 }, "id": 74, "links": [], "scroll": true, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "link": false, "mappingType": 1, "pattern": "Time", "thresholds": [], "type": "date", "unit": "short" } ], "targets": [ { "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "expr": "adguard_top_queried_domains{hostname=~'$node'}", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ domain }}", "refId": "A" } ], "title": "Top queries", "transform": "timeseries_to_rows", "transparent": true, "type": "table-old" } ], "refresh": "10s", "schemaVersion": 38, "tags": [ "adguard" ], "templating": { "list": [ { "current": { "isNone": true, "selected": false, "text": "None", "value": "" }, "datasource": { "type": "prometheus", "uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d" }, "definition": "label_values(adguard_num_dns_queries, hostname)", "hide": 0, "includeAll": false, "multi": false, "name": "node", "options": [], "query": "label_values(adguard_num_dns_queries, hostname)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-30m", "to": "now" }, "timepicker": { "hidden": false, "nowDelay": "", "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "Adguard Exporter", "uid": "MIBVglomg", "version": 1, "weekStart": "" }