Skip to content

Commit df50c09

Browse files
doc: Adds new Ref var usage to readme
1 parent 59341b1 commit df50c09

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ To use them, simply enter the value in the input string. Below is an example of
6868
You can use the Haystack connector to source new variables. Create a query and then enter the name of the column that
6969
contains the variable values. If no column is specified, the first one is used.
7070

71-
The value injected by the variable exactly matches the displayed value, with the exception of Ref types, where the
72-
injected value is only the ID portion (i.e. the dis name is not included in the interpolation). Multiple-select values
73-
are combined with commas, (`red,blue`), but this may be customized using the
74-
[advanced variable format options](https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#advanced-variable-format-options).
71+
The value injected by the variable exactly matches the displayed value, with the exception of Ref types. Instead, Ref
72+
types display the "display" portion and inject only the "ID" portion (i.e. `@abc "Site A"` will be displayed as `Site A`
73+
and provide `@abc` when injected). Multiple-select values are combined with commas, (`red,blue`), but this may be
74+
customized using the [advanced variable format options](https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#advanced-variable-format-options).
7575

7676
### Alerting
7777

0 commit comments

Comments
 (0)