adguard-exporter/grafana/dashboard.json

1440 lines
31 KiB
JSON
Raw Normal View History

2020-11-02 22:17:50 +00:00
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.3.1"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.5.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
2020-11-02 22:17:50 +00:00
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"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,
"gnetId": 10176,
"graphTooltip": 0,
"id": null,
2020-11-04 17:02:11 +00:00
"iteration": 1604507904334,
2020-11-02 22:17:50 +00:00
"links": [],
"panels": [
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 60,
"panels": [],
"title": "AdGuard Home",
"type": "row"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
2020-11-04 17:02:11 +00:00
"color": {
"mode": "thresholds"
},
2020-11-02 22:17:50 +00:00
"custom": {},
"mappings": [
{
"id": 0,
"op": "=",
2020-11-04 17:02:11 +00:00
"text": "Stopped",
2020-11-02 22:17:50 +00:00
"type": 1,
"value": "0"
},
{
"id": 1,
"op": "=",
"text": "Enabled",
"type": 1,
"value": "1"
}
],
2020-11-04 17:02:11 +00:00
"max": 1,
"min": 0,
2020-11-02 22:17:50 +00:00
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
2020-11-04 17:02:11 +00:00
"color": "dark-red",
2020-11-02 22:17:50 +00:00
"value": null
},
{
2020-11-04 17:02:11 +00:00
"color": "dark-green",
"value": 1
2020-11-02 22:17:50 +00:00
}
]
},
2020-11-04 17:02:11 +00:00
"unit": "short"
2020-11-02 22:17:50 +00:00
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 1
},
"id": 84,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
2020-11-04 17:02:11 +00:00
"colorMode": "value",
2020-11-02 22:17:50 +00:00
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
2020-11-04 17:02:11 +00:00
"lastNotNull"
2020-11-02 22:17:50 +00:00
],
"fields": "",
"values": false
},
2020-11-04 17:02:11 +00:00
"textMode": "value"
2020-11-02 22:17:50 +00:00
},
"pluginVersion": "7.3.1",
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_running{hostname=~'$node'}",
2020-11-02 22:17:50 +00:00
"format": "time_series",
"interval": "",
"intervalFactor": 1,
2020-11-04 17:02:11 +00:00
"legendFormat": "",
2020-11-02 22:17:50 +00:00
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Status",
2020-11-02 22:17:50 +00:00
"transparent": true,
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
2020-11-04 17:02:11 +00:00
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [
{
"id": 0,
"op": "=",
"text": "Stopped",
"type": 1,
"value": "0"
},
{
"id": 1,
"op": "=",
"text": "Enabled",
"type": 1,
"value": "1"
}
],
"max": 1,
"min": 0,
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-green",
"value": 1
}
]
},
"unit": "short"
2020-11-02 22:17:50 +00:00
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
2020-11-02 22:17:50 +00:00
"x": 3,
"y": 1
},
2020-11-04 17:02:11 +00:00
"id": 102,
2020-11-02 22:17:50 +00:00
"interval": null,
"links": [],
"maxDataPoints": 100,
2020-11-04 17:02:11 +00:00
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
2020-11-02 22:17:50 +00:00
},
2020-11-04 17:02:11 +00:00
"pluginVersion": "7.3.1",
2020-11-02 22:17:50 +00:00
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_protection_enabled{hostname=~'$node'}",
2020-11-02 22:17:50 +00:00
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Protection",
2020-11-02 22:17:50 +00:00
"transparent": true,
2020-11-04 17:02:11 +00:00
"type": "stat"
2020-11-02 22:17:50 +00:00
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
2020-11-04 17:02:11 +00:00
"color": {
"mode": "thresholds"
},
"custom": {},
"decimals": 2,
"mappings": [],
"max": 1,
"min": 0,
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "dark-orange",
"value": 0.05
},
{
"color": "dark-red",
"value": 0.1
}
]
},
"unit": "s"
2020-11-02 22:17:50 +00:00
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
2020-11-02 22:17:50 +00:00
"y": 1
},
2020-11-04 17:02:11 +00:00
"id": 101,
2020-11-02 22:17:50 +00:00
"interval": null,
"links": [],
2020-11-04 17:02:11 +00:00
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2020-11-02 22:17:50 +00:00
},
2020-11-04 17:02:11 +00:00
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
2020-11-02 22:17:50 +00:00
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_avg_processing_time{hostname=~'$node'}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ legend }}",
"refId": "A"
2020-11-02 22:17:50 +00:00
}
],
2020-11-04 17:02:11 +00:00
"timeFrom": null,
"timeShift": null,
"title": "Processing TIme",
"transparent": true,
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"custom": {},
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 1
},
"id": 82,
"interval": null,
"links": [],
2020-11-02 22:17:50 +00:00
"maxDataPoints": 100,
2020-11-04 17:02:11 +00:00
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
2020-11-02 22:17:50 +00:00
},
2020-11-04 17:02:11 +00:00
"pluginVersion": "7.3.1",
2020-11-02 22:17:50 +00:00
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_num_dns_queries{hostname=~'$node'}",
2020-11-02 22:17:50 +00:00
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Number of queries",
2020-11-02 22:17:50 +00:00
"transparent": true,
2020-11-04 17:02:11 +00:00
"type": "stat"
2020-11-02 22:17:50 +00:00
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
"color": {
2020-11-04 17:02:11 +00:00
"mode": "fixed"
2020-11-02 22:17:50 +00:00
},
2020-11-04 17:02:11 +00:00
"custom": {},
2020-11-02 22:17:50 +00:00
"mappings": [],
2020-11-04 17:02:11 +00:00
"nullValueMode": "connected",
2020-11-02 22:17:50 +00:00
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
2020-11-04 17:02:11 +00:00
"unit": "none"
2020-11-02 22:17:50 +00:00
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
2020-11-04 17:02:11 +00:00
"x": 12,
2020-11-02 22:17:50 +00:00
"y": 1
},
2020-11-04 17:02:11 +00:00
"id": 80,
2020-11-02 22:17:50 +00:00
"interval": null,
"links": [],
2020-11-04 17:02:11 +00:00
"maxDataPoints": 100,
2020-11-02 22:17:50 +00:00
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
2020-11-04 17:02:11 +00:00
"orientation": "horizontal",
2020-11-02 22:17:50 +00:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_num_blocked_filtering{hostname=~'$node'}",
2020-11-02 22:17:50 +00:00
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Domains being blocked",
2020-11-02 22:17:50 +00:00
"transparent": true,
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
2020-11-04 17:02:11 +00:00
"color": {
"mode": "thresholds"
},
"custom": {
"align": null,
"filterable": false
},
"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": {
2020-11-04 17:02:11 +00:00
"h": 3,
"w": 3,
"x": 15,
"y": 1
},
2020-11-04 17:02:11 +00:00
"id": 92,
"interval": null,
"links": [],
2020-11-04 17:02:11 +00:00
"maxDataPoints": 1000,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_num_blocked_filtering{hostname=~'$node'} / adguard_num_dns_queries{hostname=~'$node'} * 100",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
2020-11-04 17:02:11 +00:00
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Percent of ads blocked",
"transparent": true,
2020-11-04 17:02:11 +00:00
"type": "stat"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 7,
"w": 3,
"x": 18,
"y": 1
},
2020-11-04 17:02:11 +00:00
"id": 95,
"interval": null,
"legend": {
"percentage": true,
"show": false,
"values": true
},
"legendType": "On graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"pluginVersion": "7.3.1",
"strokeWidth": 1,
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_top_queried_domains{hostname=~'$node'}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
2020-11-04 17:02:11 +00:00
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Top queries by domain",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "avg"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 7,
"w": 3,
"x": 21,
"y": 1
},
"id": 99,
"interval": null,
"legend": {
"percentage": true,
"show": false,
"values": true
},
"legendType": "On graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"pluginVersion": "7.3.1",
"strokeWidth": 1,
"targets": [
{
"expr": "adguard_top_blocked_domains{hostname=~'$node'}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top ads by domain",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "avg"
},
2020-11-02 22:17:50 +00:00
{
"aliasColors": {
"pihole": "super-light-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 8,
"w": 11,
2020-11-02 22:17:50 +00:00
"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": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "adguard_num_dns_queries{hostname=~'$node'}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ hostname }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DNS queries all of types",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:100",
2020-11-02 22:17:50 +00:00
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:101",
2020-11-02 22:17:50 +00:00
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
2020-11-04 17:02:11 +00:00
"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": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "adguard_query_types{hostname=~'$node'}",
"interval": "",
"legendFormat": "{{ type }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DNS Query Types",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
2020-11-04 17:02:11 +00:00
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
2020-11-02 22:17:50 +00:00
},
2020-11-04 17:02:11 +00:00
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 7,
"w": 3,
"x": 18,
"y": 8
},
"id": 100,
"interval": null,
"legend": {
"percentage": true,
"show": false,
"values": true
},
"legendType": "On graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"pluginVersion": "7.3.1",
"strokeWidth": 1,
"targets": [
{
"expr": "adguard_query_types{hostname=~'$node'}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ type }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Replies by type",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "avg"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 7,
"w": 3,
"x": 21,
"y": 8
},
"id": 98,
"interval": null,
"legend": {
"percentage": true,
"show": false,
"values": true
},
"legendType": "On graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"pluginVersion": "7.3.1",
"strokeWidth": 1,
"targets": [
{
"expr": "adguard_top_clients{hostname=~'$node'}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ client }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top clients by source",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "avg"
},
2020-11-02 22:17:50 +00:00
{
"aliasColors": {
"pihole": "light-red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 8,
"w": 11,
2020-11-02 22:17:50 +00:00
"x": 0,
2020-11-04 17:02:11 +00:00
"y": 12
2020-11-02 22:17:50 +00:00
},
"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": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "adguard_num_blocked_filtering{hostname=~'$node'}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ hostname }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Ads blocked",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:302",
2020-11-02 22:17:50 +00:00
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:303",
2020-11-02 22:17:50 +00:00
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"columns": [],
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 9,
"w": 13,
"x": 11,
"y": 15
2020-11-02 22:17:50 +00:00
},
"id": 93,
"links": [],
"pageSize": null,
"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",
"colorMode": null,
"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": [
{
"expr": "adguard_top_clients{hostname=~'$node'}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ client }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top clients",
"transform": "timeseries_to_rows",
"transparent": true,
"type": "table-old"
},
{
"aliasColors": {
"pihole": "super-light-red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
2020-11-04 17:02:11 +00:00
"w": 11,
2020-11-02 22:17:50 +00:00
"x": 0,
2020-11-04 17:02:11 +00:00
"y": 20
2020-11-02 22:17:50 +00:00
},
"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": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"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": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "% of ads blocked",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:355",
2020-11-02 22:17:50 +00:00
"format": "percent",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:356",
2020-11-02 22:17:50 +00:00
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"columns": [],
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 10,
"w": 13,
"x": 11,
"y": 24
},
2020-11-04 17:02:11 +00:00
"id": 90,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
2020-11-04 17:02:11 +00:00
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
2020-11-04 17:02:11 +00:00
"pattern": "/.*/",
"thresholds": [],
2020-11-04 17:02:11 +00:00
"type": "number",
"unit": "short"
}
],
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_top_blocked_domains{hostname=~'$node'}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Top ads domains",
"transform": "timeseries_to_rows",
"transparent": true,
"type": "table-old"
},
{
"columns": [],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
2020-11-04 17:02:11 +00:00
"h": 7,
"w": 11,
"x": 0,
"y": 27
2020-11-02 22:17:50 +00:00
},
2020-11-04 17:02:11 +00:00
"id": 74,
2020-11-02 22:17:50 +00:00
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
2020-11-04 17:02:11 +00:00
"dateFormat": "YYYY-MM-DD HH:mm:ss",
2020-11-02 22:17:50 +00:00
"decimals": 2,
2020-11-04 17:02:11 +00:00
"link": false,
"mappingType": 1,
"pattern": "Time",
2020-11-02 22:17:50 +00:00
"thresholds": [],
2020-11-04 17:02:11 +00:00
"type": "date",
2020-11-02 22:17:50 +00:00
"unit": "short"
}
],
"targets": [
{
2020-11-04 17:02:11 +00:00
"expr": "adguard_top_queried_domains{hostname=~'$node'}",
2020-11-02 22:17:50 +00:00
"format": "time_series",
2020-11-04 17:02:11 +00:00
"instant": false,
2020-11-02 22:17:50 +00:00
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
2020-11-04 17:02:11 +00:00
"title": "Top queries",
2020-11-02 22:17:50 +00:00
"transform": "timeseries_to_rows",
"transparent": true,
"type": "table-old"
}
],
"refresh": "10s",
"schemaVersion": 26,
"style": "dark",
"tags": [
"adguard"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
2020-11-02 22:17:50 +00:00
"definition": "label_values(adguard_num_dns_queries, hostname)",
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "node",
"options": [],
"query": "label_values(adguard_num_dns_queries, hostname)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"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",
2020-11-04 17:02:11 +00:00
"version": 19
}