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:
@@ -190,6 +190,7 @@ Experimental features might be changed or removed without prior notice.
|
|||||||
| `alertingListViewV2` | Enables the new alert list view design |
|
| `alertingListViewV2` | Enables the new alert list view design |
|
||||||
| `notificationBanner` | Enables the notification banner UI and API |
|
| `notificationBanner` | Enables the notification banner UI and API |
|
||||||
| `dashboardRestore` | Enables deleted dashboard restore feature |
|
| `dashboardRestore` | Enables deleted dashboard restore feature |
|
||||||
|
| `alertingCentralAlertHistory` | Enables the new central alert history. |
|
||||||
|
|
||||||
## Development feature toggles
|
## Development feature toggles
|
||||||
|
|
||||||
|
|||||||
@@ -193,4 +193,5 @@ export interface FeatureToggles {
|
|||||||
datasourceProxyDisableRBAC?: boolean;
|
datasourceProxyDisableRBAC?: boolean;
|
||||||
alertingDisableSendAlertsExternal?: boolean;
|
alertingDisableSendAlertsExternal?: boolean;
|
||||||
preserveDashboardStateWhenNavigating?: boolean;
|
preserveDashboardStateWhenNavigating?: boolean;
|
||||||
|
alertingCentralAlertHistory?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1305,6 +1305,13 @@ var (
|
|||||||
HideFromDocs: true,
|
HideFromDocs: true,
|
||||||
HideFromAdminPage: true,
|
HideFromAdminPage: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "alertingCentralAlertHistory",
|
||||||
|
Description: "Enables the new central alert history.",
|
||||||
|
Stage: FeatureStageExperimental,
|
||||||
|
Owner: grafanaAlertingSquad,
|
||||||
|
FrontendOnly: true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -174,3 +174,4 @@ dashboardRestore,experimental,@grafana/grafana-frontend-platform,false,false,fal
|
|||||||
datasourceProxyDisableRBAC,GA,@grafana/identity-access-team,false,false,false
|
datasourceProxyDisableRBAC,GA,@grafana/identity-access-team,false,false,false
|
||||||
alertingDisableSendAlertsExternal,experimental,@grafana/alerting-squad,false,false,false
|
alertingDisableSendAlertsExternal,experimental,@grafana/alerting-squad,false,false,false
|
||||||
preserveDashboardStateWhenNavigating,experimental,@grafana/dashboards-squad,false,false,false
|
preserveDashboardStateWhenNavigating,experimental,@grafana/dashboards-squad,false,false,false
|
||||||
|
alertingCentralAlertHistory,experimental,@grafana/alerting-squad,false,false,true
|
||||||
|
|||||||
|
@@ -706,4 +706,8 @@ const (
|
|||||||
// FlagPreserveDashboardStateWhenNavigating
|
// FlagPreserveDashboardStateWhenNavigating
|
||||||
// Enables possibility to preserve dashboard variables and time range when navigating between dashboards
|
// Enables possibility to preserve dashboard variables and time range when navigating between dashboards
|
||||||
FlagPreserveDashboardStateWhenNavigating = "preserveDashboardStateWhenNavigating"
|
FlagPreserveDashboardStateWhenNavigating = "preserveDashboardStateWhenNavigating"
|
||||||
|
|
||||||
|
// FlagAlertingCentralAlertHistory
|
||||||
|
// Enables the new central alert history.
|
||||||
|
FlagAlertingCentralAlertHistory = "alertingCentralAlertHistory"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2261,6 +2261,19 @@
|
|||||||
"hideFromDocs": 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
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": "disableSSEDataplane",
|
"name": "disableSSEDataplane",
|
||||||
|
|||||||
Reference in New Issue
Block a user