فهرست منبع

[Fix] Datasource URL

- Fix the URL protocol
- Allow Dashboarding to be updated
Jeremy MAURO 4 سال پیش
والد
کامیت
23cc0b8d09
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 0
      grafana/provisioning/dashboards/dashboard.yml
  2. 2 2
      grafana/provisioning/datasources/InfluxDB-speedtest.yml

+ 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