mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
* Previews: datasource permissions * lint * simplify - force non-null `ds_uids` * add `canBeDisabled` to search service * add `IncludeThumbnailsWithEmptyDsUids` * remove force refresh migration * refactor main preview service * add safeguard * revert ticker interval * update testdata * fix test * add mock search service * add datasources lookup test * update migration * extract ds lookup to its own package to avoid cyclic imports * lint * fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?! * fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?! * remove stale log * consistent casing * pass context to `createServiceAccount` * filter out the special grafana ds
124 lines
2.1 KiB
JSON
124 lines
2.1 KiB
JSON
{
|
|
"schema": {
|
|
"name": "Query results",
|
|
"refId": "Search",
|
|
"meta": {
|
|
"type": "search-results",
|
|
"custom": {
|
|
"count": 106,
|
|
"locationInfo": {
|
|
"yboVMzb7z": {
|
|
"name": "gdev dashboards",
|
|
"kind": "folder",
|
|
"url": "/dashboards/f/yboVMzb7z/gdev-dashboards"
|
|
}
|
|
},
|
|
"sortBy": "name_sort"
|
|
}
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "kind",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "uid",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "panel_type",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "url",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
},
|
|
"config": {
|
|
"links": [
|
|
{
|
|
"title": "link",
|
|
"url": "${__value.text}"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"type": "other",
|
|
"typeInfo": {
|
|
"frame": "json.RawMessage",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ds_uid",
|
|
"type": "other",
|
|
"typeInfo": {
|
|
"frame": "json.RawMessage",
|
|
"nullable": false
|
|
}
|
|
},
|
|
{
|
|
"name": "location",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"data": {
|
|
"values": [
|
|
[
|
|
"dashboard"
|
|
],
|
|
[
|
|
"ujaM1h6nz"
|
|
],
|
|
[
|
|
"abc2"
|
|
],
|
|
[
|
|
""
|
|
],
|
|
[
|
|
"/dashboards/f/ujaM1h6nz/abc2"
|
|
],
|
|
[
|
|
[
|
|
"gdev"
|
|
]
|
|
],
|
|
[
|
|
[
|
|
"datasource-2",
|
|
"datasource-3",
|
|
"datasource-4",
|
|
"grafana"
|
|
]
|
|
],
|
|
[
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|