oncall-engine/engine
Vadim Stepanov 16bbfbbe73
Alert list view & caching rework (#216)
* remove cache usage in AlertGroupView

* remove CustomSearchFilter

* remove caching for alerts

* remove readonly db setup

* render templates on alert creation

* serialize only necessary fields on alert groups list

* optimize AlertGroupListSerializer

* return on-demand templating for alerts

* return on-demand templating for alert groups

* use CursorPaginator

* remove templating on alert create

* pass alert to AlertGroupWebRenderer

* alert_count -> alerts_count

* make sql joins after pagination

* add migration

* bring alert.save() back

* fix tests

* fix tests

* fix tests

* add perpage query param

* add cursor pagination to incidents page

* remove cached_render_for_web usage

* post merge fix

* keep cursor

* lint

* remove get_alert_groups_and_days_for_previous_same_period

* fix pagination on navigate

* refine search_fields on AlertGroupView

Co-authored-by: Maxim <hello.makson@gmail.com>
Co-authored-by: Maxim <maxim.mordasov@grafana.com>
2022-07-14 15:19:25 +01:00
..
apps Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
common Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
config_integrations Manual incidents for all teams (#194) 2022-07-12 12:56:27 +04:00
engine Fix default value for OSS_INSTALLATION 2022-06-08 20:23:26 +04:00
settings Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
static/images World, meet OnCall! 2022-06-03 08:09:47 -06:00
celery_with_exporter.sh World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
Dockerfile World, meet OnCall! 2022-06-03 08:09:47 -06:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml World, meet OnCall! 2022-06-03 08:09:47 -06:00
requirements.txt Update requirements.txt 2022-07-06 10:03:48 +03:00
tox.ini World, meet OnCall! 2022-06-03 08:09:47 -06:00
uwsgi.ini Update uwsgi.ini 2022-06-15 19:13:50 +03:00
wait_for_test_mysql_start.sh World, meet OnCall! 2022-06-03 08:09:47 -06:00