mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-22 11:15:19 +01:00
Move Grafana dashboard to a grafana folder
This commit is contained in:
parent
205fc77c85
commit
eb938db545
@ -8,7 +8,7 @@ This is a Prometheus exporter for [PI-Hole](https://pi-hole.net/)'s Raspberry PI
|
|||||||
|
|
||||||
![Grafana dashboard](https://raw.githubusercontent.com/eko/pihole-exporter/master/dashboard.jpg)
|
![Grafana dashboard](https://raw.githubusercontent.com/eko/pihole-exporter/master/dashboard.jpg)
|
||||||
|
|
||||||
Grafana dashboard is [available here](https://grafana.com/dashboards/10176).
|
Grafana dashboard is [available here](https://grafana.com/dashboards/10176) on the Grafana dashboard website and also [here](https://raw.githubusercontent.com/eko/pihole-exporter/master/grafana/dashboard.json) on the GitHub repository.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
"builtIn": 1,
|
"builtIn": 1,
|
||||||
"datasource": "-- Grafana --",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"hide": true,
|
"hide": true,
|
||||||
"iconColor": "rgba(0, 211, 255, 1)",
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
@ -71,7 +71,7 @@
|
|||||||
"gnetId": 10176,
|
"gnetId": 10176,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": null,
|
"id": null,
|
||||||
"iteration": 1559076223664,
|
"iteration": 1559385551318,
|
||||||
"links": [],
|
"links": [],
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
@ -378,7 +378,7 @@
|
|||||||
"strokeWidth": 1,
|
"strokeWidth": 1,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "pihole_top_queries{hostname=~'$node'}",
|
"expr": "pihole_top_queries{hostname=~\"$node\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"intervalFactor": 1,
|
"intervalFactor": 1,
|
||||||
"legendFormat": "{{ domain }}",
|
"legendFormat": "{{ domain }}",
|
||||||
@ -425,7 +425,7 @@
|
|||||||
"strokeWidth": 1,
|
"strokeWidth": 1,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "pihole_reply{hostname=~'$node'}",
|
"expr": "pihole_reply{hostname=~\"$node\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"intervalFactor": 1,
|
"intervalFactor": 1,
|
||||||
"legendFormat": "{{ type }}",
|
"legendFormat": "{{ type }}",
|
||||||
@ -470,7 +470,7 @@
|
|||||||
"strokeWidth": 1,
|
"strokeWidth": 1,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "pihole_top_ads{hostname=~'$node'}",
|
"expr": "pihole_top_ads{hostname=~\"$node\"}",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"intervalFactor": 1,
|
"intervalFactor": 1,
|
||||||
"legendFormat": "{{ domain }}",
|
"legendFormat": "{{ domain }}",
|
||||||
@ -618,7 +618,7 @@
|
|||||||
"showThresholdLabels": false,
|
"showThresholdLabels": false,
|
||||||
"showThresholdMarkers": true
|
"showThresholdMarkers": true
|
||||||
},
|
},
|
||||||
"pluginVersion": "6.2.1",
|
"pluginVersion": "6.2.0",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "pihole_ads_percentage_today{hostname=~'$node'}",
|
"expr": "pihole_ads_percentage_today{hostname=~'$node'}",
|
||||||
@ -1200,10 +1200,10 @@
|
|||||||
"pihole_unique_clients{hostname=\"127.0.0.1\",instance=\"localhost:9311\",job=\"pihole\"}": "rgb(255, 255, 255)",
|
"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"
|
"pihole_unique_domains{hostname=\"127.0.0.1\",instance=\"localhost:9311\",job=\"pihole\"}": "super-light-yellow"
|
||||||
},
|
},
|
||||||
"bars": true,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"fill": 1,
|
"fill": 10,
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 5,
|
"h": 5,
|
||||||
"w": 12,
|
"w": 12,
|
||||||
@ -1220,8 +1220,8 @@
|
|||||||
"total": false,
|
"total": false,
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"lines": false,
|
"lines": true,
|
||||||
"linewidth": 1,
|
"linewidth": 0,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null",
|
"nullPointMode": "null",
|
||||||
"options": {},
|
"options": {},
|
||||||
@ -1350,5 +1350,5 @@
|
|||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "PI-Hole Exporter",
|
"title": "PI-Hole Exporter",
|
||||||
"uid": "MIBVglomg",
|
"uid": "MIBVglomg",
|
||||||
"version": 7
|
"version": 159
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user