mirror of https://github.com/grafana/grafana.git
unified-storage: dont index -- Grafana -- datasource dashboard fields (#111774)
* unified-storage: dont index -- Grafana -- datasource dashboard fields
This commit is contained in:
parent
bace767d26
commit
9bde3267bb
|
@ -334,6 +334,9 @@ func filterOutSpecialDatasources(dash *DashboardSummaryInfo) {
|
|||
case "-- Dashboard --":
|
||||
// The `Dashboard` datasource refers to the results of the query used in another panel
|
||||
continue
|
||||
case "grafana":
|
||||
// this is the uid for the -- Grafana -- datasource
|
||||
continue
|
||||
default:
|
||||
dsRefs = append(dsRefs, ds)
|
||||
}
|
||||
|
|
|
@ -2,24 +2,12 @@
|
|||
"id": 250,
|
||||
"title": "fast streaming",
|
||||
"tags": null,
|
||||
"datasource": [
|
||||
{
|
||||
"uid": "grafana",
|
||||
"type": "datasource"
|
||||
}
|
||||
],
|
||||
"panels": [
|
||||
{
|
||||
"id": 3,
|
||||
"title": "Panel Title",
|
||||
"type": "timeseries",
|
||||
"pluginVersion": "7.5.0-pre",
|
||||
"datasource": [
|
||||
{
|
||||
"uid": "grafana",
|
||||
"type": "datasource"
|
||||
}
|
||||
]
|
||||
"pluginVersion": "7.5.0-pre"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 27,
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
"title": "special ds",
|
||||
"tags": null,
|
||||
"datasource": [
|
||||
{
|
||||
"uid": "grafana",
|
||||
"type": "datasource"
|
||||
},
|
||||
{
|
||||
"uid": "dgd92lq7k",
|
||||
"type": "frser-sqlite-datasource"
|
||||
|
@ -22,10 +18,6 @@
|
|||
"title": "mixed ds with grafana ds",
|
||||
"type": "timeseries",
|
||||
"datasource": [
|
||||
{
|
||||
"uid": "grafana",
|
||||
"type": "datasource"
|
||||
},
|
||||
{
|
||||
"uid": "dgd92lq7k",
|
||||
"type": "frser-sqlite-datasource"
|
||||
|
@ -45,13 +37,7 @@
|
|||
{
|
||||
"id": 6,
|
||||
"title": "grafana ds",
|
||||
"type": "timeseries",
|
||||
"datasource": [
|
||||
{
|
||||
"uid": "grafana",
|
||||
"type": "datasource"
|
||||
}
|
||||
]
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
"createdBy": "user:be2g71ke8yoe8b",
|
||||
"fields": {
|
||||
"ds_types": [
|
||||
"datasource",
|
||||
"my-custom-plugin"
|
||||
],
|
||||
"errors_last_1_days": 1,
|
||||
|
@ -47,12 +46,6 @@
|
|||
"kind": "DataSource",
|
||||
"name": "DSUID"
|
||||
},
|
||||
{
|
||||
"relation": "depends-on",
|
||||
"group": "datasource",
|
||||
"kind": "DataSource",
|
||||
"name": "grafana"
|
||||
},
|
||||
{
|
||||
"relation": "depends-on",
|
||||
"group": "dashboards.grafana.app",
|
||||
|
|
Loading…
Reference in New Issue