remove feature toggle + add libraryPaneldefinition (#34488)

* remove feature toggle + add libraryPaneldefinition

* update doc

* update comments

* Apply suggestions from code review

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* fix typo

* remove post trim

* update api doc

* solve comments and retrigger the test

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
This commit is contained in:
ying-jeanne
2021-05-27 17:14:58 +08:00
committed by GitHub
parent dbef103fb9
commit c59a2e1bcf
8 changed files with 109 additions and 36 deletions

View File

@@ -15,7 +15,7 @@ Dashboards are exported in Grafana JSON format, and contain everything you need
The export feature is accessed in the share window which you open by clicking the share button in the dashboard menu.
{{< docs-imagebox img="/img/docs/export/export-modal.png" max-width="800px" >}}
{{< docs-imagebox img="/img/docs/export/export-modal-8-0.png" max-width="800px" >}}
### Making a dashboard portable
@@ -25,7 +25,13 @@ add template variables for things like a metric prefix (use constant variable) a
A template variable of the type `Constant` will automatically be hidden in
the dashboard, and will also be added as a required input when the dashboard is imported.
## Importing a dashboard
### Export dashboard without default values
To export a dashboard without the default values in order to reduce the exported JSON file size, check the toggle **Export with default values removed** option.
During import, the removed default values are automatically added back to the dashboard.
## Import a dashboard
To import a dashboard click the + icon in the side menu, and then click **Import**.