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
6 changed files with 27 additions and 0 deletions
+7
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,
},
}
)
+1
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
+4
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"
)
+13
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",