mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 07:22:09 +08:00
@ -862,6 +862,7 @@ export enum VariableFormatID {
|
|||||||
Glob = 'glob',
|
Glob = 'glob',
|
||||||
HTML = 'html',
|
HTML = 'html',
|
||||||
JSON = 'json',
|
JSON = 'json',
|
||||||
|
Join = 'join',
|
||||||
Lucene = 'lucene',
|
Lucene = 'lucene',
|
||||||
PercentEncode = 'percentencode',
|
PercentEncode = 'percentencode',
|
||||||
Pipe = 'pipe',
|
Pipe = 'pipe',
|
||||||
|
@ -3,6 +3,8 @@ package common
|
|||||||
// Optional formats for the template variable replace functions
|
// Optional formats for the template variable replace functions
|
||||||
// See also https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#advanced-variable-format-options
|
// See also https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#advanced-variable-format-options
|
||||||
VariableFormatID:
|
VariableFormatID:
|
||||||
|
// Values are joined with a separator
|
||||||
|
"join" |
|
||||||
// Values are lucene escaped and multi-valued variables generate an OR expression
|
// Values are lucene escaped and multi-valued variables generate an OR expression
|
||||||
"lucene" |
|
"lucene" |
|
||||||
// Raw values
|
// Raw values
|
||||||
@ -36,4 +38,4 @@ VariableFormatID:
|
|||||||
// Format variables in their text representation. Example in multi-variable scenario A + B + C.
|
// Format variables in their text representation. Example in multi-variable scenario A + B + C.
|
||||||
"text" |
|
"text" |
|
||||||
// Format variables as URL parameters. Example in multi-variable scenario A + B + C => var-foo=A&var-foo=B&var-foo=C.
|
// Format variables as URL parameters. Example in multi-variable scenario A + B + C => var-foo=A&var-foo=B&var-foo=C.
|
||||||
"queryparam" @cuetsy(kind="enum",memberNames="Lucene|Raw|Regex|Pipe|Distributed|CSV|HTML|JSON|PercentEncode|UriEncode|SingleQuote|DoubleQuote|SQLString|Date|Glob|Text|QueryParam")
|
"queryparam" @cuetsy(kind="enum",memberNames="Join|Lucene|Raw|Regex|Pipe|Distributed|CSV|HTML|JSON|PercentEncode|UriEncode|SingleQuote|DoubleQuote|SQLString|Date|Glob|Text|QueryParam")
|
||||||
|
Reference in New Issue
Block a user