Open jividijuvent opened 2 years ago
I think I found something when I disable grouping, resolved notify will not fire, just a log with debug level. with this configuration, no resolved notify:
group_by: ['...']
group_wait: 10s
group_interval: 10s
level=debug ts=2021-12-13T12:00:26.859Z caller=dispatch.go:165 component=dispatcher msg="Received alert" alert=HaproxyHasNoAliveBackends[45806bb][resolved]
level=debug ts=2021-12-13T12:00:26.859Z caller=dispatch.go:165 component=dispatcher msg="Received alert" alert=HaproxyHasNoAliveBackends[8877eb7][resolved]
but when using groups, resolved notify works fine:
level=debug ts=2021-12-13T12:06:26.855Z caller=dispatch.go:165 component=dispatcher msg="Received alert" alert=HaproxyHasNoAliveBackends[45806bb][resolved]
level=debug ts=2021-12-13T12:06:26.855Z caller=dispatch.go:165 component=dispatcher msg="Received alert" alert=HaproxyHasNoAliveBackends[8877eb7][resolved]
level=debug ts=2021-12-13T12:06:33.795Z caller=notify.go:735 component=dispatcher receiver=webhook integration=webhook[0] msg="Notify success" attempts=1
level=debug ts=2021-12-13T12:06:33.797Z caller=notify.go:735 component=dispatcher receiver=webhook integration=webhook[0] msg="Notify success" attempts=1
Hi, I have a problem sending resolved messages, I am using webhook, which by default will send resolve, but I tried adding the option, downgrading, but nothing happened, I have logging on my API, which only shows that receives requests on firing, not on resolved. Here is my alert manager configuration:
Alretmanager Versions tested: 0.22.1 0.22.2 0.23.0
Prometheus Version: 2.31.1
And here is debug logs for Alertmanager, firing and resolving: