Export your dashboard to JSON by following these steps:
- Create your dashboard
- In the top right corner of your screen select the
Share
button (colored blue at the time of this writing) - Navigate to
Export
but do not tickExport for sharing externally
- View the dashboard as JSON by selecting
View JSON
, then copy it to your clipboard - Open a new file in this repository and paste in the JSON from the previous step
Make sure to install the pre-commit hook and/or run the cleanup script to prepare your dashboard for provisioning.
./sanitize-dashboards.sh my-new-dashboard.json
Finally, commit your changes, push to a new branch and open a pull request against the master branch.