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 a query variable | Grafana Labs
grafana.com › variable-types › add-query-variableNavigate to the dashboard you want to make a variable for and then click the Dashboard settings (gear) icon at the top of the page. On the Variables tab, click New. Enter a Name for your variable. In the Type list, select Query. (optional) In Label, enter the display name of the variable dropdown. If you don’t enter a display name, then the ...