oncall-engine/engine/apps/grafana_plugin
Michael Derynck 2c7ebcf87c
Add task to delete empty deleted integrations from the database (#3941)
# What this PR does
Add task which will cleanup deleted integrations from the database if
they don't have any alert groups. This is to help address an issue where
queries are slowing down due to having a large numbers of ids that do
not contribute to the result.

This will be connected as part of sync organization task once it tests
out ok.

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-02-27 17:34:41 +00:00
..
helpers Enable labels feature only if labels plugin is enabled (#3769) 2024-01-30 07:29:16 +00:00
tasks Add task to delete empty deleted integrations from the database (#3941) 2024-02-27 17:34:41 +00:00
tests Add task to delete empty deleted integrations from the database (#3941) 2024-02-27 17:34:41 +00:00
views Add more logging to plugin sync and install (#3730) 2024-01-23 22:59:33 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apps.py Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
urls.py Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00