oncall-engine/engine/apps/alerts
Joey Orlando 26946f0d43
fix: improve Slack rate limiting logic when updating alert groups (#5287)
# What this PR does

https://www.loom.com/share/1ac33822301444748133ffe72638ddc4

The two asks in the [original GH
issue](https://github.com/grafana/oncall-private/issues/2947) were:

> 1. Make the error message clearer. We can identify if it's delivering
or updating and being rate-limited. This is possible because Slack sets
limits per API method. Also, this limit is a per-slack channel while we
are posting messages & applying ratelimit per on-call integration, which
confuses customers.
> 2. Debounce update alert group message in Slack

Both of these have been addressed in this PR

## Which issue(s) this PR closes

Closes https://github.com/grafana/oncall-private/issues/2947

## 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] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-12-02 14:40:30 -05:00
..
escalation_snapshot chore: convert two slack channel ID char fields to foreign keys (#5224) 2024-11-04 13:34:06 -05:00
grafana_alerting_sync_manager New OnCall plugin initialization process (#4657) 2024-08-16 16:43:52 +00:00
incident_appearance Remove the deprecated "Format Alert" button from the Slack renderer (#5141) 2024-10-14 06:53:17 +00:00
incident_log_builder fix: remove notification failure policy log record when prevent posting is set (#5260) 2024-11-20 17:14:14 +00:00
migrations fix: address django migration failing on SQLite (#5308) 2024-11-28 13:05:22 -05:00
models fix: improve Slack rate limiting logic when updating alert groups (#5287) 2024-12-02 14:40:30 -05:00
tasks chore: random slack code cleanup (#5307) 2024-11-29 13:21:29 +00:00
tests fix: patch slack ID reference issue (#5314) 2024-12-02 10:51:13 -05:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py User notifications bundle (#4457) 2024-07-16 11:24:08 +00:00
integration_options_mixin.py Add support for integration additional settings via custom serializer (#4027) 2024-03-07 18:35:11 +00:00
paging.py fix: sanitize email HTML templates (#5108) 2024-10-02 15:55:24 +00:00
representative.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
signals.py Fix acknowledge reminder task (#5179) 2024-10-16 12:13:28 +00:00
utils.py Reworked declare incident escalation step (#5130) 2024-10-07 19:26:10 +00:00