-
Notifications
You must be signed in to change notification settings - Fork 368
Managing grafana dashboards
Grafana dashboards are saved in grafana-dashboards repo
Edit the dashboard in dev
environment and verify the dashboard. If results are as expected, save the dashboard.
Dashboards saved in dev
environment are pushed to the grafana-dashboards repo daily using scheduled jenkins job Dev/Grafana_Dashboards_Export
You can import dashboards from grafana-dashboards repo to grafana server using Grafana_Dashboards_Import
jenkins job. This job uses ansible/roles/grafana-dashboards-import
.
NOTE: This will overwrite all the dashboards provided by sunbird. If you have custom graphs, please keep them in separate dashboard to ensure it doesn't get overwritten during import
The ansible role internally uses wizzy to achieve this. If you are not familiar with ansible, you can use wizzy directly