alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

Why is it not supported to continue to search for a matching receiver and continue sending after the previous receiver fails?

Open yuguangye opened this issue 1 year ago • 2 comments

I have a scenario where I hope that after the alertmanager fails to push the webhook, even if continue: false, it will continue to look for other receivers and continue to try to send. In this scenario, why is not supported? I think this is more reliable

for example:

receivers:
  - name: "receiver-aa"
    webhook_configs:
        - url: 'https://alarm.com/alarms'
          send_resolved: true
  - name: "receiver-bb"
      slack_configs:
        - channel: "#alarms-bb"
          actions: *action_buttons
          http_config: *http_config
          
routes:          
  - match:
       dc: "aaa"
     receiver: "receiver-aa"
     continue: false
  - match:
       dc: "aaa"
     receiver: "receiver-bb"

yuguangye avatar Feb 29 '24 06:02 yuguangye

Sounds like a feature request to me.

TheMeier avatar Mar 10 '24 17:03 TheMeier

It sounds like a secondary notifier that will handle ONLY when the primary notifier failed to send for several times.

gameloser avatar Jul 15 '24 02:07 gameloser