mirror of
https://github.com/grafana/grafana.git
synced 2025-01-02 12:17:01 -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
130 lines
3.5 KiB
Plaintext
130 lines
3.5 KiB
Plaintext
// 🌟 This was machine generated. Do not edit. 🌟
|
|
//
|
|
// Frame[0] {
|
|
// "type": "search-results",
|
|
// "custom": {
|
|
// "count": 1
|
|
// }
|
|
// }
|
|
// Name: Query results
|
|
// Dimensions: 8 Fields by 1 Rows
|
|
// +----------------+----------------+----------------+------------------+----------------+--------------------------+-------------------------+----------------+
|
|
// | Name: kind | Name: uid | Name: name | Name: panel_type | Name: url | Name: tags | Name: ds_uid | Name: location |
|
|
// | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: |
|
|
// | Type: []string | Type: []string | Type: []string | Type: []string | Type: []string | Type: []*json.RawMessage | Type: []json.RawMessage | Type: []string |
|
|
// +----------------+----------------+----------------+------------------+----------------+--------------------------+-------------------------+----------------+
|
|
// | dashboard | 2 | nginx | | /pfix/d/2/ | null | [] | general |
|
|
// +----------------+----------------+----------------+------------------+----------------+--------------------------+-------------------------+----------------+
|
|
//
|
|
//
|
|
// 🌟 This was machine generated. Do not edit. 🌟
|
|
{
|
|
"frames": [
|
|
{
|
|
"schema": {
|
|
"name": "Query results",
|
|
"meta": {
|
|
"type": "search-results",
|
|
"custom": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"name": "location",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"data": {
|
|
"values": [
|
|
[
|
|
"dashboard"
|
|
],
|
|
[
|
|
"2"
|
|
],
|
|
[
|
|
"nginx"
|
|
],
|
|
[
|
|
""
|
|
],
|
|
[
|
|
"/pfix/d/2/"
|
|
],
|
|
[
|
|
null
|
|
],
|
|
[
|
|
[]
|
|
],
|
|
[
|
|
"general"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |