mirror of
https://github.com/grafana/grafana.git
synced 2025-09-17 19:17:29 +08:00
Docs: Rename variables pages (#87844)
* Renamed Manage variables page to Add variables * Renamed Inspect variables page to Manage and inspect variables * Updated H1 on Add variables * Moved Manage variables content to from Add varibles page to Manage and inspect variables page and updated text to fit * Updated link style to ref URIs in Manage and inspect variables
This commit is contained in:
@ -40,8 +40,8 @@ labels:
|
|||||||
- cloud
|
- cloud
|
||||||
- enterprise
|
- enterprise
|
||||||
- oss
|
- oss
|
||||||
menuTitle: Manage variables
|
menuTitle: Add variables
|
||||||
title: Add and manage variables
|
title: Add variables
|
||||||
description: Learn about the types of variables you can add to dashboards and how
|
description: Learn about the types of variables you can add to dashboards and how
|
||||||
weight: 100
|
weight: 100
|
||||||
refs:
|
refs:
|
||||||
@ -82,7 +82,7 @@ refs:
|
|||||||
destination: /docs/grafana/<GRAFANA_VERSION>/administration/data-source-management/#add-a-data-source
|
destination: /docs/grafana/<GRAFANA_VERSION>/administration/data-source-management/#add-a-data-source
|
||||||
---
|
---
|
||||||
|
|
||||||
# Add and manage variables
|
# Add variables
|
||||||
|
|
||||||
The following table lists the types of variables shipped with Grafana.
|
The following table lists the types of variables shipped with Grafana.
|
||||||
|
|
||||||
@ -553,16 +553,6 @@ The more layers of dependency you have in variables, the longer it will take to
|
|||||||
|
|
||||||
For example, if you have a series of four linked variables (country, region, server, metric) and you change a root variable value (country), then Grafana must run queries for all the dependent variables before it updates the visualizations in the dashboard.
|
For example, if you have a series of four linked variables (country, region, server, metric) and you change a root variable value (country), then Grafana must run queries for all the dependent variables before it updates the visualizations in the dashboard.
|
||||||
|
|
||||||
## Manage variables
|
|
||||||
|
|
||||||
The variables page lets you [add](ref:add) variables and manage existing variables. It also allows you to [inspect](ref:inspect) variables and identify whether a variable is being referenced (or used) in other variables or dashboard.
|
|
||||||
|
|
||||||
**Move:** You can move a variable up or down the list using drag and drop.
|
|
||||||
|
|
||||||
**Clone:** To clone a variable, click the clone icon from the set of icons on the right. This creates a copy of the variable with the name of the original variable prefixed with `copy_of_`.
|
|
||||||
|
|
||||||
**Delete:** To delete a variable, click the trash icon from the set of icons on the right.
|
|
||||||
|
|
||||||
## Filter variables with regex
|
## Filter variables with regex
|
||||||
|
|
||||||
Using the Regex Query option, you filter the list of options returned by the variable query or modify the options returned.
|
Using the Regex Query option, you filter the list of options returned by the variable query or modify the options returned.
|
||||||
|
@ -14,25 +14,35 @@ labels:
|
|||||||
- cloud
|
- cloud
|
||||||
- enterprise
|
- enterprise
|
||||||
- oss
|
- oss
|
||||||
title: Inspect variables
|
title: Manage and inspect variables
|
||||||
|
menuTitle: Inspect variables
|
||||||
description: Review and manage your dashboard variables
|
description: Review and manage your dashboard variables
|
||||||
weight: 200
|
|
||||||
refs:
|
refs:
|
||||||
manage-variables:
|
|
||||||
- pattern: /docs/grafana/
|
|
||||||
destination: /docs/grafana/<GRAFANA_VERSION>/dashboards/variables/add-template-variables/#manage-variables
|
|
||||||
- pattern: /docs/grafana-cloud/
|
|
||||||
destination: /docs/grafana/<GRAFANA_VERSION>/dashboards/variables/add-template-variables/#manage-variables
|
|
||||||
add:
|
add:
|
||||||
- pattern: /docs/grafana/
|
- pattern: /docs/grafana/
|
||||||
destination: /docs/grafana/<GRAFANA_VERSION>/dashboards/variables/add-template-variables/
|
destination: https://grafana.com/docs/grafana/<GRAFANA_VERSION>/dashboards/variables/add-template-variables/
|
||||||
- pattern: /docs/grafana-cloud/
|
- pattern: /docs/grafana-cloud/
|
||||||
destination: /docs/grafana/<GRAFANA_VERSION>/dashboards/variables/add-template-variables/
|
destination: https://grafana.com/docs/grafana-cloud/visualizations/dashboards/variables/add-template-variables/
|
||||||
|
weight: 200
|
||||||
---
|
---
|
||||||
|
|
||||||
# Inspect variables
|
# Manage and inspect variables
|
||||||
|
|
||||||
The variables page lets you easily identify whether a variable is being referenced (or used) in other variables or dashboard. In addition, you can also [add](ref:add) and [manage variables](ref:manage-variables) on this page.
|
The variables page lets you [add](ref:add) variables and [manage](#manage-variables) existing variables. It also allows you to [inspect](#inspect-variables) variables and identify whether a variable is being referenced (or used) in other variables or dashboard.
|
||||||
|
|
||||||
|
## Manage variables
|
||||||
|
|
||||||
|
You can take the following actions on the variables page:
|
||||||
|
|
||||||
|
**Move:** You can move a variable up or down the list using drag and drop.
|
||||||
|
|
||||||
|
**Clone:** To clone a variable, click the clone icon from the set of icons on the right. This creates a copy of the variable with the name of the original variable prefixed with `copy_of_`.
|
||||||
|
|
||||||
|
**Delete:** To delete a variable, click the trash icon from the set of icons on the right.
|
||||||
|
|
||||||
|
## Inspect variables
|
||||||
|
|
||||||
|
The variables page lets you easily identify whether a variable is being referenced (or used) in other variables or dashboard. In addition, you can also [add](ref:add) and [manage variables](#manage-variables) on this page.
|
||||||
|
|
||||||
{{% admonition type="note" %}}
|
{{% admonition type="note" %}}
|
||||||
This feature is available in Grafana 7.4 and later versions.
|
This feature is available in Grafana 7.4 and later versions.
|
||||||
|
Reference in New Issue
Block a user