diff --git a/docs/sources/dashboards/variables/_index.md b/docs/sources/dashboards/variables/_index.md index f001d3f179c..b6b1b800f0a 100644 --- a/docs/sources/dashboards/variables/_index.md +++ b/docs/sources/dashboards/variables/_index.md @@ -2,11 +2,15 @@ aliases: - /docs/grafana/latest/variables/ - /docs/grafana/latest/variables/variable-examples/ -title: Template variables +title: Variables weight: 130 --- -# Template variables +# Variables + +The following topics describe how to add and manage variables in your dashboards: + +{{< section >}} A variable is a placeholder for a value. You can use variables in metric queries and in panel titles. So when you change the value, using the dropdown at the top of the dashboard, your panel's metric queries will change to reflect the new value. @@ -32,7 +36,7 @@ wmi_system_threads{instance=~"$server"} Variable values are always synced to the URL using the syntax `var-=value`. -## Examples of templates and variables +## Examples Variables are listed in drop-down lists across the top of the screen. Select different variables to see how the visualizations change. diff --git a/docs/sources/dashboards/variables/add-template-variables/index.md b/docs/sources/dashboards/variables/add-template-variables/index.md index 30b58d68df3..e04a7b94ef1 100644 --- a/docs/sources/dashboards/variables/add-template-variables/index.md +++ b/docs/sources/dashboards/variables/add-template-variables/index.md @@ -25,15 +25,13 @@ aliases: - /docs/grafana/latest/variables/formatting-multi-value-variables/ - /docs/grafana/latest/reference/templating/ - /docs/grafana/latest/variables/manage-variable/ -title: Add and manage template variables -menuTitle: Add and manage template variables +title: Add and manage variables +menuTitle: Manage variables weight: 100 keywords: - grafana - - templating - documentation - guide - - template - variable - global - standard @@ -42,7 +40,7 @@ keywords: - linked --- -# Add and manage template variables +# Add and manage variables The following table lists the types of variables shipped with Grafana. @@ -58,7 +56,7 @@ The following table lists the types of variables shipped with Grafana. | Global variables | Built-in variables that can be used in expressions in the query editor. Refer to [Global variables]({{< relref "#global-variables" >}}). | | Chained variables | Variable queries can contain other variables. Refer to [Chained variables]({{< relref "#chained-variables" >}}). | -### Enter General options +## Enter General options You must enter general options for any type of variable that you create.