The last step is to capture your dashboard as JSON so it’s portable.
In the Grafana web UI, click on the Export button in the top right corner, then select Export as JSON. Ensure the Export the dashboard to use in another instance
is toggled on, then copy the JSON out of the window.
Finally, create a new directory in your code repository named dashboard
, then a new file named system-dashboard.json
, and enter the contents from the Grafana window:
Be sure to hit Save, or commit/push if using an IDE.
Navigation