oncall-engine/engine/apps/alerts/models
Ildar Iskhakov ae44ee5652
Cache render_for_web field for alertgroups list serializer (#1236)
# What this PR does
This PR caches the field `render_for_web` with lifetime 1 day and cache
becomes invalid if it was created before
* last alert received
* template changed


## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated
2023-01-28 12:50:41 +08:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert.py Add escalation chain option when creating a direct page alert group (#1143) 2023-01-18 12:58:26 -03:00
alert_group.py Optimize alert group filtering queries (#1191) 2023-01-23 16:07:55 +08:00
alert_group_counter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_log_record.py Draft initial logic for user/schedule paging (#1098) 2023-01-17 12:19:08 -03:00
alert_manager_models.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_receive_channel.py Cache render_for_web field for alertgroups list serializer (#1236) 2023-01-28 12:50:41 +08:00
channel_filter.py Cleanup on deletion/archivation of slack channel (#822) 2022-11-16 17:56:05 +08:00
custom_button.py Fix UnboundLocalError in webhooks (#1165) 2023-01-19 15:50:22 -07:00
escalation_chain.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
escalation_policy.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
grafana_alerting_contact_point.py Fix creation contact points for grafana alerting integration 2022-06-16 17:16:31 +03:00
invitation.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintainable_object.py Alert group search (#488) 2022-09-06 11:30:12 +01:00
resolution_note.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
user_has_notification.py World, meet OnCall! 2022-06-03 08:09:47 -06:00