Expired silences are deleted every 15 minutes. Try checking the alertmanager_silences_gc_duration_seconds_count metric.
On Fri, Feb 28, 2020 at 8:59 AM jayson wang <[email protected]> wrote: > > > I had the same problem > > > 在 2020年1月19日星期日 UTC+8下午4:44:19,Tmac Han写道: >> >> Any one can help me? Thank you very much! >> >> 在 2020年1月17日星期五 UTC+8下午2:11:50,Tmac Han写道: >>> >>> Hi, >>> Start alertmanager by alertmanager --config.file=./alertmanager.yml >>> --storage.path=./data --data.retention=1h`, But after 1 hour the expired >>> silenced still showd in web UI, so how to delete the expired soon? >>> I did a lot tests and generated many invalid expired silences and make the >>> web UI so slow. I want to delete the expired silences soon. >>> >>> Looking forward to your reply.Thanks a lot! >>> >>> BTW, I use go run main.go --config.file=./alertmanager.yml >>> --storage.path=./data --data.retention=1h in test env, and open >>> localhost:9093 to test when the expired silences disappear, but didn't >>> achieve my expected effect. > > -- > 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/65c289c4-5d00-4133-b254-9c94461cc559%40googlegroups.com. -- 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/CAM6RFu5vXSiPgL5zBQja0zCS%3DB3E05NmpWmRGvFbipoA%2BqHpHg%40mail.gmail.com.

