Variables
The variables feature is extremely powerful. It allows a dashboard to configure placeholders that can be used in expressions, and those placeholders can be filled with values from either a static or dynamic list, which are usually presented to the dashboard user in the form of a drop-down menu. Whenever the selected value changes, Grafana will automatically update the queries in panels that use that particular variable. In our example dashboard, we're using this feature to allow the user to choose which node instance to present. Besides being commonly used in queries, they're also available, for example, in panel titles.
This feature is available in the Dashboard settings, which can be found by clicking the top-right cog icon, which ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access