Skip to content

Commit 3e49f00

Browse files
committed
Auto provision InfluxDB data source
1 parent 10ae458 commit 3e49f00

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

grafana.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Updated v4.1.1
2-
#GF_PATHS_PROVISIONING=/var/lib/grafana/provisions
2+
GF_PATHS_PROVISIONING=/var/lib/grafana/provisions
33
GF_SERVER_HTTP_PORT=9000
44
GF_INSTALL_PLUGINS=grafana-piechart-panel, https://github.com/yesoreyeram/yesoreyeram-boomtable-panel/releases/download/v1.5.0-alpha.3/yesoreyeram-boomtable-panel-1.5.0-alpha.3.zip;yesoreyeram-boomtable-panel, fetzerch-sunandmoon-datasource, simpod-json-datasource
55
GF_ANALYTICS_CHECK_FOR_UPDATES=false
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: 1
2+
3+
datasources:
4+
- name: InfluxDB
5+
type: influxdb
6+
access: proxy
7+
url: http://influxdb:8086
8+
isDefault: true
9+
database: powerwall
10+
jsonData:
11+
dbName: powerwall
12+
timeInterval: 5s

0 commit comments

Comments
 (0)