Multi-value variables | Grafana Labs
grafana.com › formatting-multi-value-variablesMulti-value variables. Interpolating a variable with multiple values selected is tricky as it is not straight forward how to format the multiple values into a string that is valid in the given context where the variable is used. Grafana tries to solve this by allowing each data source plugin to inform the templating interpolation engine what format to use for multiple values.
Advanced variable format options | Grafana Labs
grafana.com › docs › grafanaFormats single- and multi-valued variables into a comma-separated string, escapes " in each value by \" and quotes each value with ". servers = ['test1', 'test2'] String to interpolate: '${servers:doublequote}' Interpolation result: '"test1","test2"' Glob - Graphite. Formats variables with multiple values into a glob (for Graphite queries).
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.