Alerting: Add the feature toggle for the new central alert state history feature (#88346)

* Add the feature toggle for the new central alert state history feature

* WIP

* Revert "WIP"

This reverts commit 80b8879d4e.
This commit is contained in:
Sonia Aguilar 2024-05-29 17:01:38 +02:00 committed by GitHub
parent e1d7ef30ec
commit 289ce61855
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 27 additions and 0 deletions

View File

@ -190,6 +190,7 @@ Experimental features might be changed or removed without prior notice.
| `alertingListViewV2` | Enables the new alert list view design |
| `notificationBanner` | Enables the notification banner UI and API |
| `dashboardRestore` | Enables deleted dashboard restore feature |
| `alertingCentralAlertHistory` | Enables the new central alert history. |
## Development feature toggles

View File

@ -193,4 +193,5 @@ export interface FeatureToggles {
datasourceProxyDisableRBAC?: boolean;
alertingDisableSendAlertsExternal?: boolean;
preserveDashboardStateWhenNavigating?: boolean;
alertingCentralAlertHistory?: boolean;
}

View File

@ -1305,6 +1305,13 @@ var (
HideFromDocs: true,
HideFromAdminPage: true,
},
{
Name: "alertingCentralAlertHistory",
Description: "Enables the new central alert history.",
Stage: FeatureStageExperimental,
Owner: grafanaAlertingSquad,
FrontendOnly: true,
},
}
)

View File

@ -174,3 +174,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

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
174 datasourceProxyDisableRBAC GA @grafana/identity-access-team false false false
175 alertingDisableSendAlertsExternal experimental @grafana/alerting-squad false false false
176 preserveDashboardStateWhenNavigating experimental @grafana/dashboards-squad false false false
177 alertingCentralAlertHistory experimental @grafana/alerting-squad false false true

View File

@ -706,4 +706,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"
)

View File

@ -2261,6 +2261,19 @@
"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
}
},
{
"metadata": {
"name": "disableSSEDataplane",