jaywink / matrix-alertmanager

A bot to receive Alertmanager webhook events and forward them to chosen rooms.
MIT License
76 stars 22 forks source link

rate-limiting channel join attempts #40

Closed jelmer closed 1 week ago

jelmer commented 11 months ago

I've been using matrix-alertmanager for one of my projects. After a pager flood, it got banned from the room it was in.

However, after this it kept trying to rejoin the room (consistently failing with a 403) - apparently many times a second. It would be great if it was possible to do exponential back-off when unable to join the channel.

jelmer commented 5 months ago

For others that need this feature, I've published a docker image to ghcr.io/jelmer/matrix-alertmanager with support for rate-limiting added.