Merge pull request #77 from tabic/fix-dashboard-datasource
Replace hardcoded datasource name with variable
This commit is contained in:
commit
5afdca0f8a
1 changed files with 17 additions and 17 deletions
|
@ -100,7 +100,7 @@
|
||||||
"rgba(237, 129, 40, 0.89)",
|
"rgba(237, 129, 40, 0.89)",
|
||||||
"#299c46"
|
"#299c46"
|
||||||
],
|
],
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
"rgba(237, 129, 40, 0.89)",
|
"rgba(237, 129, 40, 0.89)",
|
||||||
"#d44a3a"
|
"#d44a3a"
|
||||||
],
|
],
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"decimals": null,
|
"decimals": null,
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
"rgba(237, 129, 40, 0.89)",
|
"rgba(237, 129, 40, 0.89)",
|
||||||
"#d44a3a"
|
"#d44a3a"
|
||||||
],
|
],
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -375,7 +375,7 @@
|
||||||
"label": "Others",
|
"label": "Others",
|
||||||
"threshold": 0
|
"threshold": 0
|
||||||
},
|
},
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -427,7 +427,7 @@
|
||||||
"label": "Others",
|
"label": "Others",
|
||||||
"threshold": 0
|
"threshold": 0
|
||||||
},
|
},
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -479,7 +479,7 @@
|
||||||
"label": "Others",
|
"label": "Others",
|
||||||
"threshold": 0
|
"threshold": 0
|
||||||
},
|
},
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -528,7 +528,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {
|
"custom": {
|
||||||
|
@ -639,7 +639,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cacheTimeout": null,
|
"cacheTimeout": null,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"color": {
|
||||||
|
@ -717,7 +717,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -816,7 +816,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -919,7 +919,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -1018,7 +1018,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -1112,7 +1112,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [],
|
"columns": [],
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -1174,7 +1174,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [],
|
"columns": [],
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -1242,7 +1242,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {}
|
"custom": {}
|
||||||
|
@ -1346,7 +1346,7 @@
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_PROMETHEUS}",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {
|
"custom": {
|
||||||
|
@ -1469,7 +1469,7 @@
|
||||||
"text": "10.10.200.20",
|
"text": "10.10.200.20",
|
||||||
"value": "10.10.200.20"
|
"value": "10.10.200.20"
|
||||||
},
|
},
|
||||||
"datasource": "Prometheus",
|
"datasource": "${DS_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,
|
||||||
|
|
Loading…
Reference in a new issue