update doc

This commit is contained in:
Ying WANG
2021-05-25 12:44:52 +02:00
parent d01cfcc2ed
commit 8e4c4d7c93
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,11 @@ 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.
### Export with default values removed
If you want to export a dashboard without default values in order to reduce the exported json file size, it is a good idea to check the toggle "Export with default values removed".
When import, the removed default values would be added automatically to the dashboard.
## Importing a dashboard
To import a dashboard click the + icon in the side menu, and then click **Import**.

View File

@@ -137,7 +137,7 @@ export class ShareExport extends PureComponent<Props, State> {
<Field label="Export for sharing externally">
<Switch value={shareExternally} onChange={this.onShareExternallyChange} />
</Field>
<Field label="Export with trimed dashboard json">
<Field label="Export with default values removed">
<Switch value={trimDefaults} onChange={this.onTrimDefaultsChange} />
</Field>
<Modal.ButtonRow>