diff --git a/docs/sources/variables/advanced-variable-format-options.md b/docs/sources/variables/advanced-variable-format-options.md index e1f6f4264c4..bebed2fc3f0 100644 --- a/docs/sources/variables/advanced-variable-format-options.md +++ b/docs/sources/variables/advanced-variable-format-options.md @@ -104,6 +104,16 @@ String to interpolate: '${servers:pipe}' Interpolation result: 'test1.|test2' ``` +## Raw + +Turns off data source-specific formatting, such as single quotes in an SQL query. + +```bash +servers = ['test1.', 'test2'] +String to interpolate: '${var_name:raw}' +Interpolation result: '{test.1,test2}' +``` + ## Regex Formats multi-value variable into a regex string. diff --git a/docs/sources/variables/templates-and-variables.md b/docs/sources/variables/templates-and-variables.md index e0a2a927f49..653b6019698 100644 --- a/docs/sources/variables/templates-and-variables.md +++ b/docs/sources/variables/templates-and-variables.md @@ -66,7 +66,7 @@ Variables are listed in dropdown lists across the top of the screen. Select diff To see variable settings, navigate to **Dashboard Settings > Variables**. Click a variable in the list to see its settings. -Templates are in the query portion of panels. Queries with text that starts with `$` are templates. Not all panels will have template queries. +Variables can be used in titles, descriptions, text panels, and queries. Queries with text that starts with `$` are templates. Not all panels will have template queries. ## Variable types