Alert receiver architecture simplification #178
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently alert receivers have completely independent configuration for each kind of sender, and each very specific kind of sender is implemented by the receiver. For instance, in https://git.nationtech.io/NationTech/harmony/src/branch/master/harmony/src/modules/monitoring/alert_channel/discord_alert_channel.rs we can see that :
This should be refactored to allow all these senders to use a common implementation of a sensible trait such as
note we will have to consider that some alert receivers have dependencies. Some can be simple, such as a Secret in the case of the DiscordWebhook support provided by OKD to store the actual webhook url value. Some may be more complex such as an entire helm chart for older alertmanager instances that don't bundle the discord receiver handler.