Dashboard: Add new dashboardSchemaV2 feature toggle (#95536)

Dashboard Scene: Add new dashboardSchemaV2 feature toggle
This commit is contained in:
Alexa V 2024-10-29 11:35:18 +01:00 committed by GitHub
parent 1d8f8178ee
commit f062c66f89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 42 additions and 15 deletions

View File

@ -215,6 +215,7 @@ Experimental features might be changed or removed without prior notice.
| `unifiedStorageBigObjectsSupport` | Enables to save big objects in blob storage |
| `timeRangeProvider` | Enables time pickers sync |
| `prometheusUsesCombobox` | Use new combobox component for Prometheus query editor |
| `dashboardSchemaV2` | Enables the new dashboard schema version 2, implementing changes necessary for dynamic dashboards and dashboards as code. |
## Development feature toggles

View File

@ -226,4 +226,5 @@ export interface FeatureToggles {
timeRangeProvider?: boolean;
prometheusUsesCombobox?: boolean;
azureMonitorDisableLogLimit?: boolean;
dashboardSchemaV2?: boolean;
}

View File

@ -1555,6 +1555,13 @@ var (
Owner: grafanaPartnerPluginsSquad,
Expression: "false",
},
{
Name: "dashboardSchemaV2",
Description: "Enables the new dashboard schema version 2, implementing changes necessary for dynamic dashboards and dashboards as code.",
Stage: FeatureStageExperimental,
Owner: grafanaDashboardsSquad,
FrontendOnly: true,
},
}
)

View File

@ -207,3 +207,4 @@ unifiedStorageBigObjectsSupport,experimental,@grafana/search-and-storage,false,f
timeRangeProvider,experimental,@grafana/grafana-frontend-platform,false,false,false
prometheusUsesCombobox,experimental,@grafana/observability-metrics,false,false,false
azureMonitorDisableLogLimit,GA,@grafana/partner-datasources,false,false,false
dashboardSchemaV2,experimental,@grafana/dashboards-squad,false,false,true

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
207 timeRangeProvider experimental @grafana/grafana-frontend-platform false false false
208 prometheusUsesCombobox experimental @grafana/observability-metrics false false false
209 azureMonitorDisableLogLimit GA @grafana/partner-datasources false false false
210 dashboardSchemaV2 experimental @grafana/dashboards-squad false false true

View File

@ -838,4 +838,8 @@ const (
// FlagAzureMonitorDisableLogLimit
// Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default.
FlagAzureMonitorDisableLogLimit = "azureMonitorDisableLogLimit"
// FlagDashboardSchemaV2
// Enables the new dashboard schema version 2, implementing changes necessary for dynamic dashboards and dashboards as code.
FlagDashboardSchemaV2 = "dashboardSchemaV2"
)

View File

@ -954,6 +954,19 @@
"expression": "true"
}
},
{
"metadata": {
"name": "dashboardSchemaV2",
"resourceVersion": "1730192092473",
"creationTimestamp": "2024-10-29T08:54:52Z"
},
"spec": {
"description": "Enables the new dashboard schema version 2, implementing changes necessary for dynamic dashboards and dashboards as code.",
"stage": "experimental",
"codeowner": "@grafana/dashboards-squad",
"frontend": true
}
},
{
"metadata": {
"name": "dashgpt",
@ -2347,20 +2360,6 @@
"requiresDevMode": true
}
},
{
"metadata": {
"name": "reloadDashboardsOnParamsChange",
"resourceVersion": "1728903221522",
"creationTimestamp": "2024-10-14T10:53:41Z"
},
"spec": {
"description": "Enables reload of dashboards on scopes, time range and variables changes",
"stage": "experimental",
"codeowner": "@grafana/dashboards-squad",
"hideFromAdminPage": true,
"hideFromDocs": true
}
},
{
"metadata": {
"name": "passScopeToDashboardApi",
@ -2841,6 +2840,20 @@
"frontend": true
}
},
{
"metadata": {
"name": "reloadDashboardsOnParamsChange",
"resourceVersion": "1728903221522",
"creationTimestamp": "2024-10-14T10:53:41Z"
},
"spec": {
"description": "Enables reload of dashboards on scopes, time range and variables changes",
"stage": "experimental",
"codeowner": "@grafana/dashboards-squad",
"hideFromAdminPage": true,
"hideFromDocs": true
}
},
{
"metadata": {
"name": "renderAuthJWT",
@ -3320,4 +3333,4 @@
}
}
]
}
}