grafana provisioning
parent
5d335e14cf
commit
cee266d784
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: 1
|
||||
providers:
|
||||
- name: 'default'
|
||||
orgId: 1
|
||||
folder: ''
|
||||
folderUid: ''
|
||||
type: file
|
||||
options:
|
||||
path: /var/lib/grafana/dashboards
|
||||
|
|
@ -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}
|
||||
Loading…
Reference in New Issue