mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Guided legacy alerting upgrade dry-run (#80071)
This PR has two steps that together create a functional dry-run capability for the migration.
By enabling the feature flag alertingPreviewUpgrade when on legacy alerting it will:
a. Allow all Grafana Alerting background services except for the scheduler to start (multiorg alertmanager, state manager, routes, …).
b. Allow the UI to show Grafana Alerting pages alongside legacy ones (with appropriate in-app warnings that UA is not actually running).
c. Show a new “Alerting Upgrade” page and register associated /api/v1/upgrade endpoints that will allow the user to upgrade their organization live without restart and present a summary of the upgrade in a table.
This commit is contained in:
@@ -57,6 +57,8 @@ export function getNavTitle(navId: string | undefined) {
|
||||
return t('nav.oncall.title', 'OnCall');
|
||||
case 'alerting-legacy':
|
||||
return t('nav.alerting-legacy.title', 'Alerting (legacy)');
|
||||
case 'alerting-upgrade':
|
||||
return t('nav.alerting-upgrade.title', 'Alerting upgrade');
|
||||
case 'alert-home':
|
||||
return t('nav.alerting-home.title', 'Home');
|
||||
case 'alert-list':
|
||||
@@ -203,6 +205,11 @@ export function getNavSubTitle(navId: string | undefined) {
|
||||
return t('nav.library-panels.subtitle', 'Reusable panels that can be added to multiple dashboards');
|
||||
case 'alerting':
|
||||
return t('nav.alerting.subtitle', 'Learn about problems in your systems moments after they occur');
|
||||
case 'alerting-upgrade':
|
||||
return t(
|
||||
'nav.alerting-upgrade.subtitle',
|
||||
'Upgrade your existing legacy alerts and notification channels to the new Grafana Alerting'
|
||||
);
|
||||
case 'alert-list':
|
||||
return t('nav.alerting-list.subtitle', 'Rules that determine whether an alert will fire');
|
||||
case 'receivers':
|
||||
|
||||
Reference in New Issue
Block a user