unified-storage: dont index -- Grafana -- datasource dashboard fields (#111774)

* unified-storage: dont index -- Grafana -- datasource dashboard fields
This commit is contained in:
Will Assis 2025-10-01 11:32:56 -04:00 committed by GitHub
parent bace767d26
commit 9bde3267bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 35 deletions

View File

@ -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)
}

View File

@ -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,

View File

@ -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,

View File

@ -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",