Files
grafana/pkg/services/searchV2/extract/testdata/repeated-datasource-variables-with-default-info.json
Artur Wierzbicki 63366615bb 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>
2022-07-08 01:59:24 +04:00

41 lines
709 B
JSON

{
"id": 208,
"title": "new-dashboard-var-ds-test",
"tags": null,
"templateVars": [
"dsVariable"
],
"datasource": [
{
"uid": "gdev-testdata",
"type": "testdata"
},
{
"uid": "default.uid",
"type": "default.type"
}
],
"panels": [
{
"id": 2,
"title": "Panel Title",
"type": "table",
"pluginVersion": "9.1.0-pre",
"datasource": [
{
"uid": "gdev-testdata",
"type": "testdata"
},
{
"uid": "default.uid",
"type": "default.type"
}
]
}
],
"schemaVersion": 36,
"linkCount": 0,
"timeFrom": "now-6h",
"timeTo": "now",
"timezone": ""
}