{ "apiVersion": "dashboard.grafana.app/v1beta1", "kind": "Dashboard", "metadata": { "name": "AdGuard-Home-Exporter" }, "spec": { "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations \u0026 Alerts", "showIn": 0, "type": "dashboard" } ] }, "description": "This is a AdGuard Home dashboard when using the https://github.com/henrywhitaker3/adguard-exporter Prometheus exporter", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "links": [], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 60, "panels": [], "title": "Overview", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "Disabled" }, "1": { "text": "Enabled" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 1 }, "id": 84, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "adguard_running{server=\"$server\"}", "instant": true, "interval": "", "legendFormat": "{{ legend }}", "refId": "A" } ], "title": "Status", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "Disabled" }, "1": { "text": "Enabled" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 2, "y": 1 }, "id": 98, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "adguard_dhcp_enabled{server=\"$server\"}", "instant": true, "interval": "", "legendFormat": "{{ legend }}", "refId": "A" } ], "title": "DHCP", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": 0 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 1, "x": 4, "y": 1 }, "id": 93, "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^version$/", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "adguard_running{server=\"$server\"}", "instant": true, "interval": "", "legendFormat": "{{version}}", "refId": "A" } ], "title": "Version", "transformations": [ { "id": "labelsToFields", "options": { "keepLabels": [ "version" ] } } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "index": 0, "value": 0 }, { "color": "#EAB839", "index": 1, "value": 40 }, { "color": "red", "index": 2, "value": 80 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 5, "y": 1 }, "id": 92, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "(adguard_queries_blocked{server=\"$server\"}/ adguard_queries{server=\"$server\"}) * 100", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "% Blocked", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "#EAB839", "value": 40 }, { "color": "red", "value": 100 } ] }, "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 7, "y": 1 }, "id": 101, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "exemplar": false, "expr": "sum(rate(adguard_processing_time_milliseconds_sum{server=\"$server\"}[$__rate_interval])) / sum(rate(adguard_processing_time_milliseconds_count{server=\"$server\"}[$__rate_interval]))", "instant": true, "interval": "", "legendFormat": "", "range": false, "refId": "A" } ], "title": "Processing Time", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [], "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 10, "y": 1 }, "id": 70, "maxDataPoints": 3, "options": { "displayLabels": [], "legend": { "calcs": [], "displayMode": "list", "placement": "right", "showLegend": true, "values": [ "percent" ] }, "pieType": "donut", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "topk(10, increase(adguard_top_queried_domains{server=\"$server\"}[$__range]))", "instant": true, "interval": "", "legendFormat": "{{domain}}", "refId": "A" } ], "title": "Top Queries by Domain", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [], "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 17, "y": 1 }, "id": 96, "maxDataPoints": 3, "options": { "displayLabels": [], "legend": { "calcs": [], "displayMode": "list", "placement": "right", "showLegend": true, "values": [ "percent" ] }, "pieType": "donut", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "topk(10, increase(adguard_top_clients{server=\"$server\"}[$__range]))", "instant": true, "interval": "", "legendFormat": "{{name}}", "refId": "A" } ], "title": "Top Clients", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 9, "w": 10, "x": 0, "y": 4 }, "id": 66, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "rate(adguard_queries[$__rate_interval])", "interval": "", "legendFormat": "{{server}}", "range": true, "refId": "A" } ], "title": "DNS queries", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [], "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 10, "y": 8 }, "id": 100, "options": { "legend": { "displayMode": "list", "placement": "right", "showLegend": true, "values": [ "percent" ] }, "pieType": "pie", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "increase(adguard_query_types{server=\"$server\"}[$__range])", "instant": false, "interval": "", "legendFormat": "{{type}}", "refId": "A" } ], "title": "Query Types", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 17, "y": 8 }, "id": 68, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "sum by (upstream) (rate(adguard_processing_time_milliseconds_sum[5m])) / sum by (upstream) (rate(adguard_processing_time_milliseconds_count[5m]))", "interval": "", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Upstream Response Time", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 10, "w": 10, "x": 0, "y": 13 }, "id": 62, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "rate(adguard_queries_blocked[$__rate_interval])", "instant": false, "interval": "", "legendFormat": "Blocked {{server}}", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "rate(adguard_replaced_safesearch[$__rate_interval])", "hide": false, "instant": false, "interval": "", "legendFormat": "Replaced SafeSearch {{server}}", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "rate(adguard_replaced_safebrowsing[1m])", "hide": false, "instant": false, "interval": "", "legendFormat": "Replaced SafeBrowsing", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "sum(adguard_replaced_parental{server=\"$server\"})", "hide": false, "instant": false, "interval": "", "legendFormat": "Replaced Parental {{server}}", "refId": "D" } ], "title": "Queries Blocked/Replaced", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 14, "x": 10, "y": 15 }, "id": 95, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "sum by (name) (rate(adguard_top_clients[$__rate_interval]))", "instant": false, "legendFormat": "{{name}}", "range": true, "refId": "A" } ], "title": "Client Queries", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "id": 102, "panels": [], "title": "Stats", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "ms" }, "overrides": [ { "matcher": { "id": "byName", "options": "Avg Latency" }, "properties": [ { "id": "unit", "value": "ms" } ] }, { "matcher": { "id": "byName", "options": "Requests" }, "properties": [ { "id": "unit", "value": "none" } ] } ] }, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 24 }, "id": 97, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "exemplar": false, "expr": "topk(15, sum by (client, name) (increase(adguard_top_clients{server=\"$server\"}[$__range])))", "format": "table", "hide": false, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "exemplar": false, "expr": "sum by (client, name) (rate(adguard_processing_time_milliseconds_sum[$__rate_interval])) / sum by (client, name) (rate(adguard_processing_time_milliseconds_count[$__rate_interval]) \u003e 0)", "format": "time_series", "hide": false, "instant": false, "legendFormat": "__auto", "range": true, "refId": "B" } ], "title": "Clients", "transformations": [ { "id": "timeSeriesTable", "options": { "B": { "timeField": "Time" } } }, { "id": "merge", "options": {} }, { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "instance": true, "job": true, "server": true }, "includeByName": {}, "indexByName": {}, "renameByName": { "Trend #B": "Latency", "Value": "Requests", "Value #A": "Total", "Value #B": "Avg Latency", "client": "Client", "name": "Name", "upstream": "Upstream" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "decimals": 0, "displayName": "", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", "options": "Time" }, "properties": [ { "id": "displayName", "value": "Time" }, { "id": "unit", "value": "time: YYYY-MM-DD HH:mm:ss" }, { "id": "custom.align" } ] } ] }, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 24 }, "id": 90, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "topk(15, sum by (domain) (increase(adguard_top_blocked_domains[$__range])))", "format": "table", "instant": true, "interval": "", "legendFormat": "__auto", "refId": "A" } ], "title": "Top Blocked Domains", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "includeByName": {}, "indexByName": {}, "renameByName": { "Value": "Count", "domain": "Domain" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 24 }, "id": 74, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "expr": "topk(15, sum by (domain) (increase(adguard_top_queried_domains[$__range])))", "format": "table", "instant": true, "interval": "30s", "intervalFactor": 1, "legendFormat": "__auto", "refId": "A" } ], "title": "Top Queries", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "instance": true, "job": true, "server": true }, "includeByName": {}, "indexByName": {}, "renameByName": { "Value": "Count", "domain": "Domain" } } }, { "id": "seriesToRows", "options": { "reducers": [] } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 13, "x": 0, "y": 30 }, "id": 99, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "exemplar": false, "expr": "adguard_dhcp_leases{server=\"$server\"}", "format": "table", "hide": false, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "DHCP Leases", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": true, "__name__": true, "cluster": true, "instance": true, "job": true, "prometheus": true, "server": true }, "includeByName": {}, "indexByName": { "Time": 5, "Value": 12, "__name__": 6, "cluster": 7, "expires_at": 4, "hostname": 0, "instance": 8, "ip": 1, "job": 9, "mac": 2, "prometheus": 10, "server": 11, "type": 3 }, "renameByName": { "expires_at": "Expires", "hostname": "Hostname", "instance": "", "ip": "IP", "mac": "MAC", "type": "Type" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 11, "x": 13, "y": 30 }, "id": 94, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "12.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "editorMode": "code", "exemplar": false, "expr": "topk(15, sum by (upstream) (increase(adguard_top_upstreams{server=\"$server\"}[$__range])))", "format": "table", "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "Upstreams", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "instance": true, "job": true, "server": true }, "includeByName": {}, "indexByName": {}, "renameByName": { "Value": "Requests", "upstream": "Upstream" } } } ], "type": "table" } ], "refresh": "30s", "schemaVersion": 42, "tags": [], "templating": { "list": [ { "current": {}, "datasource": { "type": "prometheus", "uid": "ff1qkncht70n4c" }, "definition": "label_values(adguard_running,server)", "includeAll": false, "name": "server", "options": [], "query": "label_values(adguard_running,server)", "refresh": 1, "regex": "", "type": "query" } ] }, "time": { "from": "now-3h", "to": "now" }, "timepicker": { "nowDelay": "" }, "timezone": "", "title": "AdGuard Home Exporter", "weekStart": "" } }