Implement proper retries for integrations

Author: simonpasquierCreated Mar 10, 2020Updated Sep 21, 2026
Labelshelp wantedkind/enhancementcomponent/notifystale

Looking at the various integrations, some of them provide hints on how you should retry once you're rate-limited:

Currently the retry behavior for all integrations is a simple back-off mechanism using the github.com/cenkalti/backoff/v4 library.

Other integrations (VictorOps, WeChat) don't provide much information about retry strategies so the current implementation is probably good enough for them. The same is true for the webhook integration.

This is a follow up of #2121, #2128 and #2119. In particular this comment is relevant.