Просмотр исходного кода

[Fix] Datasource URL

- Fix the URL protocol
- Allow Dashboarding to be updated
Jeremy MAURO 4 лет назад
Родитель
Сommit
23cc0b8d09

+ 1 - 0
grafana/provisioning/dashboards/dashboard.yml

@@ -4,6 +4,7 @@ apiVersion: 1
 providers:
   - name: dashboards
     type: file
+    allowUiUpdates: true
     options:
       path: '/etc/grafana/provisioning/dashboards'
       foldersFromFilesStructure: true

+ 2 - 2
grafana/provisioning/datasources/InfluxDB-speedtest.yml

@@ -3,8 +3,8 @@ apiVersion: 1
 
 datasources:
   - name: "InfluxDB-speedtest"
-    type: "InfluxDB"
+    type: "influxdb"
     access: proxy
-    url: influxdb:8086
+    url: http://influxdb:8086
     database: speedtest
     version: 1