mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 05:22:49 +08:00
PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616)
* Format md,mdx files with prettier on lint-staged * Manually run prettier on docs/sources
This commit is contained in:
@ -11,7 +11,7 @@ Interpolating a variable with multiple values selected is tricky as it is not st
|
||||
|
||||
## Multi-value variables with a Graphite data source
|
||||
|
||||
Graphite 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*.
|
||||
Graphite 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_.
|
||||
|
||||
## Multi-value variables with a Prometheus or InfluxDB data source
|
||||
|
||||
@ -26,5 +26,6 @@ Elasticsearch uses lucene query syntax, so the same variable would be formatted
|
||||
Automatic escaping and formatting can cause problems and it can be tricky to grasp the logic behind it. Especially for InfluxDB and Prometheus where the use of regex syntax requires that the variable is used in regex operator context.
|
||||
|
||||
If you do not want Grafana to do this automatic regex escaping and formatting, then you must do one of the following:
|
||||
|
||||
- Turn off the **Multi-value** or **Include All option** options.
|
||||
- Use the [raw variable format]({{< relref "advanced-variable-format-options.md#raw" >}}).
|
||||
|
Reference in New Issue
Block a user