oncall-engine/engine/apps/alerts/tasks
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
..
__init__.py Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
acknowledge_reminder.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
cache_alert_group_for_web.py Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
calculcate_escalation_finish_time.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
call_ack_url.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
check_escalation_finished.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
compare_escalations.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
create_contact_points_for_datasource.py Fix creation contact points for grafana alerting integration 2022-06-16 17:16:31 +03:00
custom_button_result.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
delete_alert_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
distribute_alert.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalate_alert_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
invalidate_web_cache_for_alert_group.py Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
invite_user_to_join_incident.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
notify_all.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
notify_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
notify_ical_schedule_shift.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
notify_user.py Allow Telegram DMs without channel connection (#142) 2022-06-28 09:11:19 +01:00
resolve_alert_group_by_source_if_needed.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
resolve_alert_group_if_needed.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
resolve_by_last_step.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_alert_group_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_log_report_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_postmortem_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_resolution_note_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
sync_grafana_alerting_contact_points.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
task_logger.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
unsilence.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
wipe.py World, meet OnCall! 2022-06-03 08:09:47 -06:00