diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index 7c288821375..99392eafb65 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -190,6 +190,7 @@ Experimental features might be changed or removed without prior notice. | `newDashboardSharingComponent` | Enables the new sharing drawer design | | `alertingListViewV2` | Enables the new alert list view design | | `notificationBanner` | Enables the notification banner UI and API | +| `alertingCentralAlertHistory` | Enables the new central alert history. | ## Development feature toggles diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 1074b64cd1b..3be9e07b01f 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -194,4 +194,5 @@ export interface FeatureToggles { datasourceProxyDisableRBAC?: boolean; alertingDisableSendAlertsExternal?: boolean; preserveDashboardStateWhenNavigating?: boolean; + alertingCentralAlertHistory?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 19f25677309..ce0796873cc 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1314,6 +1314,13 @@ var ( HideFromDocs: true, HideFromAdminPage: true, }, + { + Name: "alertingCentralAlertHistory", + Description: "Enables the new central alert history.", + Stage: FeatureStageExperimental, + Owner: grafanaAlertingSquad, + FrontendOnly: true, + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 6a71506c26b..e68714f74c4 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -175,3 +175,4 @@ dashboardRestore,experimental,@grafana/grafana-frontend-platform,false,false,fal datasourceProxyDisableRBAC,GA,@grafana/identity-access-team,false,false,false alertingDisableSendAlertsExternal,experimental,@grafana/alerting-squad,false,false,false preserveDashboardStateWhenNavigating,experimental,@grafana/dashboards-squad,false,false,false +alertingCentralAlertHistory,experimental,@grafana/alerting-squad,false,false,true diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 174f0332b7e..5d64065c977 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -710,4 +710,8 @@ const ( // FlagPreserveDashboardStateWhenNavigating // Enables possibility to preserve dashboard variables and time range when navigating between dashboards FlagPreserveDashboardStateWhenNavigating = "preserveDashboardStateWhenNavigating" + + // FlagAlertingCentralAlertHistory + // Enables the new central alert history. + FlagAlertingCentralAlertHistory = "alertingCentralAlertHistory" ) diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 02a2f7175c8..353db1b38a7 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -2264,6 +2264,19 @@ "hideFromAdminPage": true, "hideFromDocs": true } + }, + { + "metadata": { + "name": "alertingCentralAlertHistory", + "resourceVersion": "1716819619889", + "creationTimestamp": "2024-05-27T14:20:19Z" + }, + "spec": { + "description": "Enables the new central alert history.", + "stage": "experimental", + "codeowner": "@grafana/alerting-squad", + "frontend": true + } } ] } \ No newline at end of file