grafana/pkg/services/ngalert/migration
Sofia Papagiannaki 89d3b55bec
Folders: Reduce DB queries when counting and deleting resources under folders (#81153)
* Add folder store method for fetching all folder descendants

* Modify GetDescendantCounts() to fetch folder descendants at once

* Reduce DB calls when counting library panels under dashboard

* Reduce DB calls when counting dashboards under folder

* Reduce DB calls during folder delete

* Modify folder registry to count/delete entities under multiple folders

* Reduce DB calls when counting

* Reduce DB calls when deleting
2024-01-30 18:26:34 +02:00
..
models Alerting: Guided legacy alerting upgrade dry-run (#80071) 2024-01-05 18:19:12 -05:00
store RBAC: Add userLogin filter to the permission search endpoint (#81137) 2024-01-26 09:43:16 +01:00
alert_rule_test.go Alerting: During legacy migration reduce the number of created silences (#78505) 2024-01-24 15:56:19 -05:00
alert_rule.go Alerting: During legacy migration reduce the number of created silences (#78505) 2024-01-24 15:56:19 -05:00
channel_test.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
channel.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
cond_trans_test.go Alerting: In migration, create one label per channel (#76527) 2023-12-19 13:25:13 -05:00
cond_trans.go Alerting: Refactor migration to return pairs of legacy and upgraded structs (#79719) 2024-01-05 05:37:13 -05:00
migration_test.go Remove folderID from service tests (#80615) 2024-01-26 17:36:35 +02:00
models.go Alerting: During legacy migration reduce the number of created silences (#78505) 2024-01-24 15:56:19 -05:00
permissions_test.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
permissions.go Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00
persist.go Alerting: Guided legacy alerting upgrade dry-run (#80071) 2024-01-05 18:19:12 -05:00
securejsondata.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
service_test.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
service.go Alerting: During legacy migration reduce the number of created silences (#78505) 2024-01-24 15:56:19 -05:00
silences_test.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
silences.go Alerting: During legacy migration reduce the number of created silences (#78505) 2024-01-24 15:56:19 -05:00
template_test.go Alerting: Handle edge cases without panicking during template migration (#76890) 2023-11-02 13:24:54 -04:00
template.go Alerting: Handle edge cases without panicking during template migration (#76890) 2023-11-02 13:24:54 -04:00
testing.go Alerting: During legacy migration reduce the number of created silences (#78505) 2024-01-24 15:56:19 -05:00
ualert_test.go Alerting: Refactor migration to return pairs of legacy and upgraded structs (#79719) 2024-01-05 05:37:13 -05:00
ualert.go Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00