Thanks for your replay,I don't think it's necessary to expire a silence which covers many alerts, In this case endsAt is enough. What I'm not sure is that ,the silence only mute one alert witch created by user on purpose. This kind of silence matched by alert's fingerprint rather than labels :) I suppose it is reasonable now... 在2020年11月27日星期五 UTC+8 下午7:13:35<[email protected]> 写道:
> https://github.com/prometheus/alertmanager/issues/1860 might be what you > describe > > On Friday, 27 November 2020 at 09:21:16 UTC [email protected] wrote: > >> Hi,I'm coding a alertmanager like system, alert is sent by an im called >> DX,I placed some bottom in alert message,like silence 10m,1h,6h. A silence >> will be created after click the bottom which silence the alert(each silence >> for an alert) for corresponding period. >> Now some of my colleagues want feature that when the alert is >> resolved,expire the corresponding silence(which silence the only alert) by >> their choice. >> >> >> I am not sure whether it's a good idea or not . >> What do you guys think about this:) >> >> Thanks~ >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/88d4f883-7812-4f9d-88a2-8483d802dac5n%40googlegroups.com.

