Skip to content

Managing grafana dashboards

Deepak Narayana Rao edited this page Sep 25, 2017 · 3 revisions

Grafana dashboards are saved in grafana-dashboards repo

Editing dashboards

Edit the dashboard in dev environment and verify the dashboard. If results are as expected, save the dashboard.

Export dasboards

Dashboards saved in dev environment are pushed to the grafana-dashboards repo daily using scheduled jenkins job Dev/Grafana_Dashboards_Export

Import dashboards

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

Clone this wiki locally