Search: support datasource template variables when parsing dashboard JSON models (#51587)
* init * support template variables * support variables without curly braces * add todo for `__all` case * fix `$__all` case for non-multivalue * extract some functions * fix flakinesss * support `$__all` and `default` template variables * add todo * compilation fix Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"id": 209,
|
||||
"title": "ds-variables",
|
||||
"tags": null,
|
||||
"templateVars": [
|
||||
"sqllite"
|
||||
],
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "usersss!",
|
||||
"type": "table",
|
||||
"pluginVersion": "9.1.0-pre"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 36,
|
||||
"linkCount": 0,
|
||||
"timeFrom": "now-6h",
|
||||
"timeTo": "now",
|
||||
"timezone": ""
|
||||
}
|
||||
Reference in New Issue
Block a user