Files
grafana/pkg/services/sqlstore/migrations
Yuriy Tseretyan 4d02f73e5f Alerting: Persist rule position in the group (#50051)
Migrations:
* add a new column alert_group_idx to alert_rule table
* add a new column alert_group_idx to alert_rule_version table
* re-index existing rules during migration

API:
* set group index on update. Use the natural order of items in  the array as group index
* sort rules in the group on GET
* update the version of all rules of all affected groups. This will make optimistic lock work in the case of multiple concurrent request touching the same groups.

UI:
* update UI to keep the order of alerts in a group
2022-06-22 10:52:46 -04:00
..
2019-03-11 10:49:55 +01:00
2018-02-16 17:36:28 +01:00
2022-02-23 16:56:21 +01:00
2020-09-22 16:22:19 +02:00