mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Fix advanced variable formatting examples (#16691)
This commit is contained in:
parent
b9ff1923e7
commit
6c3f93c974
@ -57,7 +57,7 @@ Formats multi-value variable into a regex string.
|
||||
```bash
|
||||
servers = ['test1.', 'test2']
|
||||
String to interpolate: '${servers:regex}'
|
||||
Interpolation result: '(test\.|test2)'
|
||||
Interpolation result: '(test1\.|test2)'
|
||||
```
|
||||
|
||||
### Pipe
|
||||
@ -66,7 +66,7 @@ Formats multi-value variable into a pipe-separated string.
|
||||
```bash
|
||||
servers = ['test1.', 'test2']
|
||||
String to interpolate: '${servers:pipe}'
|
||||
Interpolation result: 'test.|test2'
|
||||
Interpolation result: 'test1.|test2'
|
||||
```
|
||||
|
||||
### Csv
|
||||
@ -75,7 +75,7 @@ Formats multi-value variable as a comma-separated string.
|
||||
```bash
|
||||
servers = ['test1', 'test2']
|
||||
String to interpolate: '${servers:csv}'
|
||||
Interpolation result: 'test,test2'
|
||||
Interpolation result: 'test1,test2'
|
||||
```
|
||||
|
||||
### Json
|
||||
|
Loading…
Reference in New Issue
Block a user