alertmanager
alertmanager copied to clipboard
Collect silence count in the background
This PR addresses #4358
Currently in draft because I will wait for comments/discussion https://github.com/prometheus/alertmanager/issues/4358
I'm wondering if this is still necessary given the recent improvements in Silencer performance. The big improvement relevant to this change is https://github.com/prometheus/alertmanager/commit/6ceb38d06d4fd6ecfbbd11510c7bdf591d92a917 which allows multiple queries to execute concurrently (so CountState doesn't block other read-queries anymore).