mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* update menu * updated alert list * Update alert-list-panel.md * Update alert-list-panel.md * Update bar-gauge-panel.md * Delete bar_gauge.md * Delete dashlist.md * Update dashboard-list-panel.md * deleted old panels * Update gauge-panel.md * Update graph-panel.md * Update heatmap.md * Update logs-panel.md * Update news-panel.md * Updated stat panel * Update table-panel.md * Update text-panel.md * Fixed broken links * Update _index.md * Update alerts-overview.md * Update add-a-panel.md * Update field-configuration-options.md * removed beta text * Update inspect-panel.md * Update panel-editor.md * Update thresholds.md * Update transformations.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update transformations.md
16 lines
740 B
Markdown
16 lines
740 B
Markdown
+++
|
|
title = "Templates and variables"
|
|
type = "docs"
|
|
[menu.docs]
|
|
identifier = "variables"
|
|
weight = 500
|
|
+++
|
|
|
|
# Templates and variables
|
|
|
|
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.
|
|
|
|
Variables allow you to create more interactive and dynamic dashboards. Instead of hard-coding things like server, application,
|
|
and sensor names in your metric queries, you can use variables in their place. Variables are displayed as dropdown lists at the top of
|
|
the dashboard. These dropdowns make it easy to change the data being displayed in your dashboard. |