prometheus / alertmanager

Prometheus Alertmanager
https://prometheus.io
Apache License 2.0
6.67k stars 2.16k forks source link

Creation of silence in one Alertmanager takes time to reflect the changes in other 2 Alertmanagers #1269

Closed vivekbny closed 6 years ago

vivekbny commented 6 years ago

What did you do? Created/Expired a silence in alertmanager1 and tried to view the silence in other Alert managers

What did you expect to see? All 3 Alertmanagers should be clustered and in Sync

What did you see instead? Under which circumstances? Creation of silence in one Alertmanager takes time to reflect the changes in other Alertmanagers, approximately 3 minutes to view the changes in all 3 Alertmanagers

Environment Preprod

alertmanager: image: prom/alertmanager:0.14.0 ports:

brian-brazil commented 6 years ago

To be clear, does the silence not show up or the effect of the silence?

vivekbny commented 6 years ago

I created a silence in Alertmanager1 Trying to view the silence in Alertmanager 2 and 3 Silence is not seen in Alertmanager 2 & 3 Silence Shows up after approximately 3 minutes in Alertmanager 2&3

Same things happens with the Expiring silence scenario

stuartnelson3 commented 6 years ago

This is expected due to the gossip protocol and the nature of eventual consistency. Hopefully time to convergence drops with the migration to the new gossip library (currently available in v0.15.0.rc0)