mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #11412 from tettaji/variable-docs
Clarified formatting multiple values doc
This commit is contained in:
commit
d37e8df991
@ -174,6 +174,8 @@ Interpolating a variable with multiple values selected is tricky as it is not st
|
|||||||
is valid in the given context where the variable is used. Grafana tries to solve this by allowing each data source plugin to
|
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.
|
inform the templating interpolation engine what format to use for multiple values.
|
||||||
|
|
||||||
|
Note that the *Custom all value* option on the variable will have to be left blank for Grafana to format all values into a single string.
|
||||||
|
|
||||||
**Graphite**, for example, uses glob expressions. A variable with multiple values would, in this case, be interpolated as `{host1,host2,host3}` if
|
**Graphite**, for example, uses glob expressions. A variable with multiple values would, in this case, be interpolated as `{host1,host2,host3}` if
|
||||||
the current variable value was *host1*, *host2* and *host3*.
|
the current variable value was *host1*, *host2* and *host3*.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user