浏览代码

[Fix] Datasource URL

- Fix the URL protocol
- Allow Dashboarding to be updated
Jeremy MAURO 4 年之前
父节点
当前提交
23cc0b8d09

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

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

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

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