소스 검색

[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