mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
18daa6754c
* 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
156 lines
2.7 KiB
JSON
156 lines
2.7 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": [
|
|
[
|
|
"folder",
|
|
"dashboard",
|
|
"dashboard",
|
|
"dashboard"
|
|
],
|
|
[
|
|
"ujaM1h6nz",
|
|
"7MeksYbmk",
|
|
"vmie2cmWz",
|
|
"xMsQdBfWz"
|
|
],
|
|
[
|
|
"abc2",
|
|
"Alerting with TestData",
|
|
"Bar Gauge Demo",
|
|
"Bar Gauge Demo Unfilled"
|
|
],
|
|
[
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
[
|
|
"/dashboards/f/ujaM1h6nz/abc2",
|
|
"/d/7MeksYbmk/alerting-with-testdata",
|
|
"/d/vmie2cmWz/bar-gauge-demo",
|
|
"/d/xMsQdBfWz/bar-gauge-demo-unfilled"
|
|
],
|
|
[
|
|
null,
|
|
[
|
|
"gdev",
|
|
"alerting"
|
|
],
|
|
[
|
|
"gdev",
|
|
"demo"
|
|
],
|
|
[
|
|
"gdev",
|
|
"demo"
|
|
]
|
|
],
|
|
[
|
|
[],
|
|
[
|
|
"datasource-1"
|
|
],
|
|
[
|
|
"datasource-2",
|
|
"datasource-3",
|
|
"datasource-4"
|
|
],
|
|
[]
|
|
],
|
|
[
|
|
"",
|
|
"yboVMzb7z",
|
|
"yboVMzb7z",
|
|
"yboVMzb7z"
|
|
]
|
|
]
|
|
}
|
|
}
|