Platform: Kubernetes
Environment: Grafana Docker container
Grafana versions: 6.5.2, 6.7.1, 7.0.0
I have the following dashboard provisioner defined:
apiVersion: 1
providers:
- name: 'backups'
orgId: 1
folder: 'monitoring infrastructure'
type: file
disableDeletion: false
editable: true
updateIntervalSeconds: 10
allowUiUpdates: true
options:
path: /var/lib/grafana/dashboards/monitoring-infrastructure
From what I can tell, the provisioner should allow me to update and save dashboards in the Grafana UI. However, when I try to do that, I get the “Cannot save provisioned dashboard” dialog mentioned in the documentation here:
https://grafana.com/docs/grafana/latest/administration/provisioning/#dashboards
I am also getting the following message in the logs, which seems to correlate with each provisioned dashboard that I am unable to save:
msg="Failed to create ProvisionedExternalId" logger=http.server err=Rel: can't make /var/lib/grafana/dashboards/monitoring-infrastructure/my-dashboard.json relative to ''
Is there a known issue with dashboard provisioning like this, or anything to check? I can’t determine the cause of the relative pathing issue either.
Thanks.