Merge pull request #66 from andrewchumchal/master

Having issues with Dashboard
This commit is contained in:
Vincent Composieux 2020-12-30 14:09:24 +01:00 committed by GitHub
commit 75be7931d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
{
{ {
"__inputs": [ "__inputs": [
{ {
@ -62,6 +63,7 @@
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts", "name": "Annotations & Alerts",
"showIn": 0,
"type": "dashboard" "type": "dashboard"
} }
] ]
@ -71,11 +73,12 @@
"gnetId": 10176, "gnetId": 10176,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1559385551318, "iteration": 1609280899627,
"links": [], "links": [],
"panels": [ "panels": [
{ {
"collapsed": false, "collapsed": false,
"datasource": null,
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -98,6 +101,13 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -129,7 +139,6 @@
"maxDataPoints": 100, "maxDataPoints": 100,
"nullPointMode": "connected", "nullPointMode": "connected",
"nullText": null, "nullText": null,
"options": {},
"postfix": "", "postfix": "",
"postfixFontSize": "50%", "postfixFontSize": "50%",
"prefix": "", "prefix": "",
@ -151,8 +160,8 @@
"targets": [ "targets": [
{ {
"expr": "pihole_status{hostname=~'$node'}", "expr": "pihole_status{hostname=~'$node'}",
"format": "time_series", "instant": true,
"intervalFactor": 1, "interval": "",
"legendFormat": "{{ legend }}", "legendFormat": "{{ legend }}",
"refId": "A" "refId": "A"
} }
@ -188,7 +197,14 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "Prometheus",
"decimals": null, "decimals": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -220,7 +236,6 @@
"maxDataPoints": 100, "maxDataPoints": 100,
"nullPointMode": "connected", "nullPointMode": "connected",
"nullText": null, "nullText": null,
"options": {},
"postfix": "", "postfix": "",
"postfixFontSize": "50%", "postfixFontSize": "50%",
"prefix": "", "prefix": "",
@ -242,8 +257,9 @@
"targets": [ "targets": [
{ {
"expr": "pihole_domains_being_blocked{hostname=~'$node'}", "expr": "pihole_domains_being_blocked{hostname=~'$node'}",
"format": "time_series", "instant": false,
"intervalFactor": 1, "interval": "",
"legendFormat": "",
"refId": "A" "refId": "A"
} }
], ],
@ -272,6 +288,13 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#d44a3a" "#d44a3a"
], ],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -303,7 +326,6 @@
"maxDataPoints": 100, "maxDataPoints": 100,
"nullPointMode": "connected", "nullPointMode": "connected",
"nullText": null, "nullText": null,
"options": {},
"postfix": "", "postfix": "",
"postfixFontSize": "50%", "postfixFontSize": "50%",
"prefix": "", "prefix": "",
@ -325,8 +347,8 @@
"targets": [ "targets": [
{ {
"expr": "pihole_unique_domains{hostname=~'$node'}", "expr": "pihole_unique_domains{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1, "legendFormat": "",
"refId": "A" "refId": "A"
} }
], ],
@ -354,6 +376,13 @@
"label": "Others", "label": "Others",
"threshold": 0 "threshold": 0
}, },
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%", "fontSize": "80%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -373,14 +402,13 @@
"links": [], "links": [],
"maxDataPoints": 3, "maxDataPoints": 3,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": {},
"pieType": "donut", "pieType": "donut",
"strokeWidth": 1, "strokeWidth": 1,
"targets": [ "targets": [
{ {
"expr": "pihole_top_queries{hostname=~\"$node\"}", "expr": "pihole_top_queries{hostname=~'$node'}",
"format": "time_series", "instant": true,
"intervalFactor": 1, "interval": "",
"legendFormat": "{{ domain }}", "legendFormat": "{{ domain }}",
"refId": "A" "refId": "A"
} }
@ -400,6 +428,13 @@
"label": "Others", "label": "Others",
"threshold": 0 "threshold": 0
}, },
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%", "fontSize": "80%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -419,15 +454,13 @@
"links": [], "links": [],
"maxDataPoints": 3, "maxDataPoints": 3,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": {},
"pieType": "donut", "pieType": "donut",
"pluginVersion": "6.1.4", "pluginVersion": "6.1.4",
"strokeWidth": 1, "strokeWidth": 1,
"targets": [ "targets": [
{ {
"expr": "pihole_reply{hostname=~\"$node\"}", "expr": "pihole_reply{hostname='$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "{{ type }}", "legendFormat": "{{ type }}",
"refId": "A" "refId": "A"
} }
@ -447,6 +480,13 @@
"label": "Others", "label": "Others",
"threshold": 0 "threshold": 0
}, },
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%", "fontSize": "80%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -465,14 +505,12 @@
"links": [], "links": [],
"maxDataPoints": 3, "maxDataPoints": 3,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": {},
"pieType": "pie", "pieType": "pie",
"strokeWidth": 1, "strokeWidth": 1,
"targets": [ "targets": [
{ {
"expr": "pihole_top_ads{hostname=~\"$node\"}", "expr": "pihole_top_ads{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "{{ domain }}", "legendFormat": "{{ domain }}",
"refId": "A" "refId": "A"
} }
@ -491,13 +529,39 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1, "fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 3 "y": 3
}, },
"hiddenSeries": false,
"id": 66, "id": 66,
"legend": { "legend": {
"avg": false, "avg": false,
@ -512,8 +576,11 @@
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -524,8 +591,7 @@
"targets": [ "targets": [
{ {
"expr": "pihole_dns_queries_all_types{hostname=~'$node'}", "expr": "pihole_dns_queries_all_types{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "{{ job }}", "legendFormat": "{{ job }}",
"refId": "A" "refId": "A"
} }
@ -574,28 +640,20 @@
}, },
{ {
"cacheTimeout": null, "cacheTimeout": null,
"gridPos": { "datasource": "Prometheus",
"h": 5, "fieldConfig": {
"w": 4,
"x": 8,
"y": 3
},
"id": 92,
"links": [],
"options": {
"fieldOptions": {
"calcs": [
"mean"
],
"defaults": { "defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"decimals": 2, "decimals": 2,
"mappings": [],
"max": "100", "max": "100",
"min": 0, "min": 0,
"unit": "percent" "thresholds": {
}, "mode": "absolute",
"mappings": [], "steps": [
"override": {},
"thresholds": [
{ {
"color": "green", "color": "green",
"index": 0, "index": 0,
@ -611,20 +669,39 @@
"index": 2, "index": 2,
"value": 80 "value": 80
} }
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"y": 3
},
"id": 92,
"links": [],
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
], ],
"fields": "",
"values": false "values": false
}, },
"orientation": "auto",
"showThresholdLabels": false, "showThresholdLabels": false,
"showThresholdMarkers": true "showThresholdMarkers": true
}, },
"pluginVersion": "6.2.0", "pluginVersion": "7.2.0",
"targets": [ "targets": [
{ {
"expr": "pihole_ads_percentage_today{hostname=~'$node'}", "expr": "pihole_ads_percentage_today{hostname=~'$node'}",
"format": "time_series", "instant": false,
"interval": "", "interval": "",
"intervalFactor": 1, "legendFormat": "",
"refId": "A" "refId": "A"
} }
], ],
@ -641,13 +718,22 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1, "fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 8 "y": 8
}, },
"hiddenSeries": false,
"id": 62, "id": 62,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": false,
@ -663,8 +749,11 @@
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -675,8 +764,8 @@
"targets": [ "targets": [
{ {
"expr": "pihole_ads_blocked_today{hostname=~'$node'}", "expr": "pihole_ads_blocked_today{hostname=~'$node'}",
"format": "time_series", "instant": false,
"intervalFactor": 1, "interval": "",
"legendFormat": "{{ job }}", "legendFormat": "{{ job }}",
"refId": "A" "refId": "A"
} }
@ -728,13 +817,22 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1, "fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 8 "y": 8
}, },
"hiddenSeries": false,
"id": 68, "id": 68,
"legend": { "legend": {
"avg": false, "avg": false,
@ -749,8 +847,11 @@
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -761,15 +862,13 @@
"targets": [ "targets": [
{ {
"expr": "pihole_queries_cached{hostname=~'$node'}", "expr": "pihole_queries_cached{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "Queries cached", "legendFormat": "Queries cached",
"refId": "A" "refId": "A"
}, },
{ {
"expr": "pihole_queries_forwarded", "expr": "pihole_queries_forwarded{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "Queries forwarded", "legendFormat": "Queries forwarded",
"refId": "B" "refId": "B"
} }
@ -821,13 +920,22 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1, "fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 8 "y": 8
}, },
"hiddenSeries": false,
"id": 78, "id": 78,
"legend": { "legend": {
"avg": false, "avg": false,
@ -842,8 +950,11 @@
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -853,17 +964,10 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "pihole_querytypes{hostname=~'$node'}", "expr": "pihole_querytypes",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "{{ type }}", "legendFormat": "{{ type }}",
"refId": "A" "refId": "A"
},
{
"expr": "",
"format": "time_series",
"intervalFactor": 1,
"refId": "B"
} }
], ],
"thresholds": [], "thresholds": [],
@ -915,13 +1019,22 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1, "fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 13 "y": 13
}, },
"hiddenSeries": false,
"id": 64, "id": 64,
"legend": { "legend": {
"avg": false, "avg": false,
@ -936,8 +1049,11 @@
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -947,9 +1063,8 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "pihole_ads_percentage_today{hostname=~'$node'}", "expr": "pihole_ads_percentage_today",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "{{ job }}", "legendFormat": "{{ job }}",
"refId": "A" "refId": "A"
} }
@ -998,6 +1113,13 @@
}, },
{ {
"columns": [], "columns": [],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 5, "h": 5,
@ -1007,17 +1129,17 @@
}, },
"id": 74, "id": 74,
"links": [], "links": [],
"options": {},
"pageSize": null, "pageSize": null,
"scroll": true, "scroll": true,
"showHeader": true, "showHeader": true,
"sort": { "sort": {
"col": 0, "col": 2,
"desc": true "desc": true
}, },
"styles": [ "styles": [
{ {
"alias": "", "alias": "",
"align": "auto",
"colorMode": null, "colorMode": null,
"colors": [ "colors": [
"rgba(245, 54, 54, 0.9)", "rgba(245, 54, 54, 0.9)",
@ -1036,10 +1158,9 @@
], ],
"targets": [ "targets": [
{ {
"expr": "pihole_top_queries{hostname=~'$node'}", "expr": "topk(15, pihole_top_queries)",
"format": "time_series", "instant": true,
"instant": false, "interval": "30s",
"interval": "",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "{{ domain }}", "legendFormat": "{{ domain }}",
"refId": "A" "refId": "A"
@ -1050,10 +1171,17 @@
"title": "Top queries", "title": "Top queries",
"transform": "timeseries_to_rows", "transform": "timeseries_to_rows",
"transparent": true, "transparent": true,
"type": "table" "type": "table-old"
}, },
{ {
"columns": [], "columns": [],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 5, "h": 5,
@ -1063,23 +1191,24 @@
}, },
"id": 90, "id": 90,
"links": [], "links": [],
"options": {},
"pageSize": null, "pageSize": null,
"scroll": true, "scroll": true,
"showHeader": true, "showHeader": true,
"sort": { "sort": {
"col": 0, "col": 2,
"desc": true "desc": true
}, },
"styles": [ "styles": [
{ {
"alias": "Time", "alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss", "dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time", "pattern": "Time",
"type": "date" "type": "date"
}, },
{ {
"alias": "", "alias": "",
"align": "auto",
"colorMode": null, "colorMode": null,
"colors": [ "colors": [
"rgba(245, 54, 54, 0.9)", "rgba(245, 54, 54, 0.9)",
@ -1095,9 +1224,9 @@
], ],
"targets": [ "targets": [
{ {
"expr": "pihole_top_ads{hostname=~'$node'}", "expr": "topk(15, pihole_top_ads)",
"format": "time_series", "instant": true,
"intervalFactor": 1, "interval": "",
"legendFormat": "{{ domain }}", "legendFormat": "{{ domain }}",
"refId": "A" "refId": "A"
} }
@ -1107,26 +1236,37 @@
"title": "Top ads domains", "title": "Top ads domains",
"transform": "timeseries_to_rows", "transform": "timeseries_to_rows",
"transparent": true, "transparent": true,
"type": "table" "type": "table-old"
}, },
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1, "fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 18 "y": 18
}, },
"hiddenSeries": false,
"id": 88, "id": 88,
"legend": { "legend": {
"alignAsTable": false,
"avg": false, "avg": false,
"current": false, "current": false,
"max": false, "max": false,
"min": false, "min": false,
"rightSide": false,
"show": false, "show": false,
"total": false, "total": false,
"values": false "values": false
@ -1135,20 +1275,27 @@
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [
{
"alias": "pihole_unique_clients{hostname=\\\"127.0.0.1\\\",instance=\\\"localhost:9311\\\",job=\\\"pihole\\\"}",
"color": "#E0B400"
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "pihole_forward_destinations{hostname=~'$node'}", "expr": "pihole_forward_destinations{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1,
"legendFormat": "{{ destination }}", "legendFormat": "{{ destination }}",
"refId": "A" "refId": "A"
} }
@ -1160,7 +1307,7 @@
"title": "Forward destinations", "title": "Forward destinations",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 2,
"value_type": "individual" "value_type": "individual"
}, },
"transparent": true, "transparent": true,
@ -1196,36 +1343,62 @@
} }
}, },
{ {
"aliasColors": { "aliasColors": {},
"pihole_unique_clients{hostname=\"127.0.0.1\",instance=\"localhost:9311\",job=\"pihole\"}": "rgb(255, 255, 255)",
"pihole_unique_domains{hostname=\"127.0.0.1\",instance=\"localhost:9311\",job=\"pihole\"}": "super-light-yellow"
},
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"fill": 10, "datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 18 "y": 18
}, },
"hiddenSeries": false,
"id": 76, "id": 76,
"legend": { "legend": {
"avg": false, "avg": false,
"current": false, "current": false,
"max": false, "max": false,
"min": false, "min": false,
"show": false, "show": true,
"total": false, "total": false,
"values": false "values": false
}, },
"lines": true, "lines": true,
"linewidth": 0, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null", "nullPointMode": "null",
"options": {}, "options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -1236,9 +1409,8 @@
"targets": [ "targets": [
{ {
"expr": "pihole_unique_clients{hostname=~'$node'}", "expr": "pihole_unique_clients{hostname=~'$node'}",
"format": "time_series", "interval": "",
"intervalFactor": 1, "legendFormat": "{{ hostname }}",
"legendFormat": "",
"refId": "A" "refId": "A"
} }
], ],
@ -1263,7 +1435,6 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 0,
"format": "short", "format": "short",
"label": null, "label": null,
"logBase": 1, "logBase": 1,
@ -1287,15 +1458,19 @@
} }
], ],
"refresh": false, "refresh": false,
"schemaVersion": 18, "schemaVersion": 26,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [ "list": [
{ {
"allValue": null, "allValue": null,
"current": {}, "current": {
"datasource": "${DS_PROMETHEUS}", "selected": false,
"text": "10.10.200.20",
"value": "10.10.200.20"
},
"datasource": "Prometheus",
"definition": "label_values(pihole_ads_blocked_today, hostname)", "definition": "label_values(pihole_ads_blocked_today, hostname)",
"hide": 0, "hide": 0,
"includeAll": false, "includeAll": false,
@ -1349,6 +1524,6 @@
}, },
"timezone": "", "timezone": "",
"title": "PI-Hole Exporter", "title": "PI-Hole Exporter",
"uid": "MIBVglomg", "uid": "PI-Hole-Exporter",
"version": 159 "version": 31
} }