You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Dashboard templating allows you to create dashboards that use variables like <code>$scope</code> or <code>$redis</code> in place of specific tags or hosts. Dynamically explore the same metrics across different sets of tags by selecting new variable values, without switching through multiple dashboards or changing graph and widget definitions.</p>
16
+
17
+
<h3id="new">Enabling dashboard templating</h3>
18
+
<p>To create a new templated dashboard, select the 'Use templated sources for metrics'
<p>A template variable is defined by a name and optional parameters for 'Tag Group' and 'Default Tag.' A tag group is a prefix shared among several tags, like <code>redis_port</code> for the tags <code>redis_port:6379</code> and <code>redis_port:6280</code>. Setting a tag group eliminates irrelevant tags from the variable's scope selector.
30
+
The 'Default Tag' option determines the initial value for the variable on dashboard load.</p>
31
+
32
+
<h3id="graph">Using template variables in graph editors</h3>
<p>Once defined, template variables appear alongside normal tag and host options in graph editors. If you set <code>redis_port:6379</code> as the value of <code>$redis</code>, all graphs defined with <code>$redis</code> will be scoped to <code>redis_port:6379</code>.
0 commit comments