grafana/pkg/services/ngalert/migration/models
Matthew Jacobson aa03b8f8a7
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.
2024-01-05 18:19:12 -05:00
..
alertmanager.go Alerting: Guided legacy alerting upgrade dry-run (#80071) 2024-01-05 18:19:12 -05:00
models_test.go Alerting: In migration improve deduplication of title and group (#78351) 2023-11-29 10:05:00 -05:00
models.go Alerting: Refactor migration to return pairs of legacy and upgraded structs (#79719) 2024-01-05 05:37:13 -05:00
state.go Alerting: Refactor migration to return pairs of legacy and upgraded structs (#79719) 2024-01-05 05:37:13 -05:00