oncall-engine/engine/apps/alerts/models
Michael Derynck 7c26eb559b
Improve handling of template exceptions during group data creation (#1068)
# What this PR does
With the addition of tighter controls on jinja templates handle
exceptions while rendering group data as follows:
- Title will cache error message as title and display to user and the
error will be logged
- Group distinction will be left as None and the error will be logged
- Is resolve signal will be treated as False and the error will be
logged
- Is acknowledge signal will be treated as False and the error will be
logged

## Which issue(s) this PR fixes
https://github.com/grafana/oncall-private/issues/1542
2023-01-03 12:30:59 -07:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert.py Improve handling of template exceptions during group data creation (#1068) 2023-01-03 12:30:59 -07:00
alert_group.py Speedup alert group search 2023-01-03 11:04:16 +08:00
alert_group_counter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_log_record.py Optimize alert group list view (#299) 2022-07-27 14:14:59 +03:00
alert_manager_models.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_receive_channel.py Use common environment for templates 2022-11-05 00:31:51 -06:00
channel_filter.py Cleanup on deletion/archivation of slack channel (#822) 2022-11-16 17:56:05 +08:00
custom_button.py Improve Jinja Template feedback and error handling (#884) 2022-11-28 09:46:51 -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