Chore: Enabling failWrongDSUID by default in Grafana 12 (#102192)

* enabling failWrongDSUID by default in Grafana 12

* making reviewdog happy

* generating feature toggle files
This commit is contained in:
Timur Olzhabayev
2025-04-01 14:59:32 +02:00
committed by GitHub
parent fa8dafec77
commit 03c894489c
6 changed files with 17 additions and 11 deletions
@@ -69,6 +69,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `pluginProxyPreserveTrailingSlash` | Preserve plugin proxy trailing slash. | |
| `azureMonitorPrometheusExemplars` | Allows configuration of Azure Monitor as a data source that can provide Prometheus exemplars | Yes |
| `pinNavItems` | Enables pinning of nav items | Yes |
| `failWrongDSUID` | Throws an error if a data source has an invalid UIDs | Yes |
| `alertingApiServer` | Register Alerting APIs with the K8s API server | Yes |
| `cloudWatchRoundUpEndTime` | Round up end time for metric queries to the next minute to avoid missing data | Yes |
| `newFiltersUI` | Enables new combobox style UI for the Ad hoc filters variable in scenes architecture | Yes |
@@ -192,7 +193,6 @@ Experimental features might be changed or removed without prior notice.
| `alertingListViewV2` | Enables the new alert list view design |
| `dashboardRestore` | Enables deleted dashboard restore feature |
| `alertingCentralAlertHistory` | Enables the new central alert history. |
| `failWrongDSUID` | Throws an error if a datasource has an invalid UIDs |
| `dataplaneAggregator` | Enable grafana dataplane aggregator |
| `tableNextGen` | Allows access to the new react-data-grid based table component. |
| `lokiSendDashboardPanelNames` | Send dashboard and panel names to Loki when querying |
@@ -703,7 +703,8 @@ export interface FeatureToggles {
*/
ssoSettingsLDAP?: boolean;
/**
* Throws an error if a datasource has an invalid UIDs
* Throws an error if a data source has an invalid UIDs
* @default true
*/
failWrongDSUID?: boolean;
/**
+3 -2
View File
@@ -1208,9 +1208,10 @@ var (
},
{
Name: "failWrongDSUID",
Description: "Throws an error if a datasource has an invalid UIDs",
Stage: FeatureStageExperimental,
Description: "Throws an error if a data source has an invalid UIDs",
Stage: FeatureStageGeneralAvailability,
Owner: grafanaPluginsPlatformSquad,
Expression: "true", // enabled by default
},
{
Name: "zanzana",
+1 -1
View File
@@ -157,7 +157,7 @@ azureMonitorPrometheusExemplars,GA,@grafana/partner-datasources,false,false,fals
pinNavItems,GA,@grafana/grafana-frontend-platform,false,false,false
authZGRPCServer,experimental,@grafana/identity-access-team,false,false,false
ssoSettingsLDAP,preview,@grafana/identity-access-team,false,true,false
failWrongDSUID,experimental,@grafana/plugins-platform-backend,false,false,false
failWrongDSUID,GA,@grafana/plugins-platform-backend,false,false,false
zanzana,experimental,@grafana/identity-access-team,false,false,false
reloadDashboardsOnParamsChange,experimental,@grafana/dashboards-squad,false,false,false
enableScopesInMetricsExplore,experimental,@grafana/dashboards-squad,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
157 pinNavItems GA @grafana/grafana-frontend-platform false false false
158 authZGRPCServer experimental @grafana/identity-access-team false false false
159 ssoSettingsLDAP preview @grafana/identity-access-team false true false
160 failWrongDSUID experimental GA @grafana/plugins-platform-backend false false false
161 zanzana experimental @grafana/identity-access-team false false false
162 reloadDashboardsOnParamsChange experimental @grafana/dashboards-squad false false false
163 enableScopesInMetricsExplore experimental @grafana/dashboards-squad false false false
+1 -1
View File
@@ -640,7 +640,7 @@ const (
FlagSsoSettingsLDAP = "ssoSettingsLDAP"
// FlagFailWrongDSUID
// Throws an error if a datasource has an invalid UIDs
// Throws an error if a data source has an invalid UIDs
FlagFailWrongDSUID = "failWrongDSUID"
// FlagZanzana
+9 -5
View File
@@ -1793,13 +1793,17 @@
{
"metadata": {
"name": "failWrongDSUID",
"resourceVersion": "1718721033692",
"creationTimestamp": "2024-06-20T10:56:39Z"
"resourceVersion": "1741956585324",
"creationTimestamp": "2024-06-20T10:56:39Z",
"annotations": {
"grafana.app/updatedTimestamp": "2025-03-14 12:49:45.324676 +0000 UTC"
}
},
"spec": {
"description": "Throws an error if a datasource has an invalid UIDs",
"stage": "experimental",
"codeowner": "@grafana/plugins-platform-backend"
"description": "Throws an error if a data source has an invalid UIDs",
"stage": "GA",
"codeowner": "@grafana/plugins-platform-backend",
"expression": "true"
}
},
{