grafana provisioning

pull/1/head
Jordan Sokolic 2020-03-06 15:58:00 +02:00
parent 5d335e14cf
commit cee266d784
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,9 @@
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
folderUid: ''
type: file
options:
path: /var/lib/grafana/dashboards

View File

@ -0,0 +1,13 @@
apiVersion: 1
datasources:
- name: InfluxDB
type: influxdb
access: proxy
url: "http://influxdb:8086"
database: collectd
user: ${INFLUXDB_READ_USER}
isDefault: true
jsonData:
httpMode: "GET"
secureJsonData:
password: ${INFLUXDB_READ_PASSWORD}