I don't think it's possible because the same alert can be send to different people depending on the time. For that I use inhibition.
For example the alert "apache down" can be inhabited on the first alert manager during day and the second during night. With the same route and continue the alert will never ring Thomas Le jeu. 18 mars 2021 à 00:02, Julien Pivotto <[email protected]> a écrit : > On 17 Mar 15:58, Thomas Rodriguez wrote: > > > > Hello, > > > > I want to send alert in a different way for a different time period. > > For that I installed 2 alertmanager (alertmanager-ho and > alertmanager-hno). > > I put inhibitor for alertmanager-ho during night and inhibitor for > > alertmanager-hno during day. > > > > If I put theses 2 alertmanager in cluster mode. What will hapend? How > the > > alertmanager will be chosen? Do we have an other way for sending I > silence > > in 2 alertmanager ? > > > > I am following the right way for what I want to do? > > Hello, > > The best way to achieve what you want is to use continue: true in your > routing tree. > > > > > Thanks, > > Thomas > > > > -- > > 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/e5e2d182-a715-4ce7-a488-5882a09c2244n%40googlegroups.com > . > > > -- > Julien Pivotto > @roidelapluie > -- 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/CAP8gRqEHLmFSmaz6DVUocvEXrin8-WppqbRZfmHfYa_5c7PYrQ%40mail.gmail.com.

