我们在Grafana测试环境,搭建好了一个Dashboard,现在想把它放到生产环境中运行。这时,就需要用到Grafana的导出导入功能。
导出
Dashboard右上角,点击Share Dashboard
图标。

同时,选中第三个标签Export
,最后点击Save to file
按钮。这时会把Dashboard保存到一个json文件中,并下载到本地。
导入
点击Import
菜单

点击Upload .json File
按钮,上传刚才保存的json文件。或者在Or paste JSON
文本框中,粘贴刚才下载的json的内容后,再点击Load
按钮。
