'grafana dashboard location when postgresql is used as config db for high availability
I have setup Grafana using helm chart and Terraform. It is up and running with PostgreSQL as database instead of SQLite for saving its data
I have a new requirement to setup grafana dashboards from files, I have created a configmap using terraform which takes json content from a local file. I have verified that the config map is created with JSON data.
values.yaml has dashboard related values like the following... where grafana-custom-dashboard is the name of configmap
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'my-dashboard'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/my-dashboard
dashboardsConfigMaps:
my-dashboard: "grafana-custom-dashboard"
I have logged onto CloudSQL(PostgreSQL) database and verified the tables, it has dashboards that I created in UI but not this.
I couldn't find this my-dashboard on the Grafana UI.. what am I missing ?
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
