Templates and variables | Grafana Labs
grafana.com › docs › grafanaGrafana Viewers can use variables. Variables and templates also allow you to single-source dashboards. If you have multiple identical data sources or servers, you can make one dashboard and use variables to change what you are viewing. This simplifies maintenance and upkeep enormously. Templates. A template is any query that contains a variable.
Add variables | Grafana Labs
grafana.com › docs › grafanaGrafana uses several types of variables. Query-generated list of values such as metric names, server names, sensor IDs, data centers, and so on. Add a query variable. Define the variable options manually using a comma-separated list. Add a custom variable. Display a free text input field with an optional default value.
Variable examples | Grafana Labs
grafana.com › docs › grafanaVariable examples. This page contains links to dashboards in Grafana Play with examples of template variables. Elasticsearch Metrics - Uses ad hoc filters, global variables, and a custom variable. Graphite Templated Nested - Uses query variables, chained query variables, an interval variable, and a repeated panel.
Manage variables | Grafana Labs
grafana.com › docs › grafanaManage variables. The variables page lets you add variables and manage existing variables. It also allows you to 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 the up and down arrows respectively. Clone