Sfoglia il codice sorgente

Set statically the datasource

Due to a grafana provisioning bug there no way set variable
as datasource

Ref: https://github.com/grafana/grafana/issues/10786

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 4 anni fa
parent
commit
e91b366ac0

+ 5 - 5
grafana/provisioning/dashboards/connectivity/speedtest.json

@@ -55,7 +55,7 @@
   "links": [],
   "panels": [
     {
-      "datasource": "${DS_INFLUXDB-SPEEDTEST}",
+      "datasource": "InfluxDB-speedtest",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -146,7 +146,7 @@
       "type": "stat"
     },
     {
-      "datasource": "${DS_INFLUXDB-SPEEDTEST}",
+      "datasource": "InfluxDB-speedtest",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -250,7 +250,7 @@
       "type": "stat"
     },
     {
-      "datasource": "${DS_INFLUXDB-SPEEDTEST}",
+      "datasource": "InfluxDB-speedtest",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -362,7 +362,7 @@
       "bars": false,
       "dashLength": 10,
       "dashes": false,
-      "datasource": "${DS_INFLUXDB-SPEEDTEST}",
+      "datasource": "InfluxDB-speedtest",
       "fieldConfig": {
         "defaults": {
           "custom": {},
@@ -538,7 +538,7 @@
       "bars": false,
       "dashLength": 10,
       "dashes": false,
-      "datasource": "${DS_INFLUXDB-SPEEDTEST}",
+      "datasource": "InfluxDB-speedtest",
       "fieldConfig": {
         "defaults": {
           "custom": {}