I am trying to configure dashboards in multiple directories. I have only seen examples for one directory, and that works find. When I try this yaml file I get this error on startup:
t=2019-04-04T16:43:17+0000 lvl=eror msg="failed to search for dashboards" logger=provisioning.dashboard type=file name=beta error="database is locked"
Yaml:
apiVersion: 1
providers:
- name: ‘released’
orgId: 1
folder: ‘Released’
type: file
disableDeletion: true
updateIntervalSeconds: 3600 #how often Grafana will scan for changed dashboards
options:
path: /etc/grafana/provisioning/dashboards/released - name: ‘beta’
orgId: 1
folder: ‘Beta’
type: file
disableDeletion: false
updateIntervalSeconds: 3600 #how often Grafana will scan for changed dashboards
options:
path: /etc/grafana/provisioning/dashboards/beta