Hi Remya, I don't see anything immediately wrong in that configuration (although the child route with "continue" doesn't have any label-matching overlap with the following route yet, as was your initial problem statement). I guess we'd have to see your actual alerts and their labels to debug further why the second route doesn't seem to match anything.
Regards, Julius On Tue, Jan 26, 2021 at 6:00 AM Remya Ramachandran <[email protected]> wrote: > Hi Julius, > > I have used 'continue' in my configuration, however it is matching only > the first match_re entry in my case and not considering the next set of > entries and just route it to my default destination. Is there anything > wrong with the below configuration ? > > global: > > smtp_smarthost: 'localhost:25' > > smtp_from: '[email protected]' > > smtp_require_tls: false > > route: > > group_by: ['instance', 'alert'] > > group_wait: 30s > > group_interval: 5m > > repeat_interval: 3h > > receiver: 'UX team' > > routes: > > - match_re: > > job: ^(TX Windows Servers|ECD Windows Set 1|ECD Windows Set 2)$ > > receiver: 'TX team' > > repeat_interval: '5h' > > continue: true > > - match_re: > > job: ^(CX Servers1|CX Servers2)$ > > receiver: 'Windows Team' > > repeat_interval: '5h' > > receivers: > > - name: 'Windows Team' > > email_configs: > > - to: '[email protected] , [email protected]' > > send_resolved: true > > - name: 'UX team' > > email_configs: > > - to: '[email protected] , [email protected]' > > send_resolved: true > > - name: 'TX team' > > email_configs: > > - to: '[email protected] , [email protected]' > > send_resolved: true > > Thanks, > Remya > On Monday, January 25, 2021 at 8:14:47 PM UTC+5:30 [email protected] > wrote: > >> Hi Anup, >> >> You could use the "continue" flag in your Alertmanager config to first >> send everything to T1, then continue on to the rest of your routes. See >> https://www.robustperception.io/sending-alert-notifications-to-multiple-destinations >> . >> >> Regards, >> Julius >> >> On Mon, Jan 25, 2021 at 1:06 PM Anup Tripathi <[email protected]> >> wrote: >> >>> Hi team, >>> >>> i want to send alert A to Team (T1 and T2) then alert B to team (T1 and >>> T3) then alert C to team (T1 and T4). So, I have to send all alert to team >>> T1 and rest on the basis of requirement >>> >>> -- >>> 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/21df88e7-38a4-4bb9-81a7-07035bbd7574n%40googlegroups.com >>> <https://groups.google.com/d/msgid/prometheus-users/21df88e7-38a4-4bb9-81a7-07035bbd7574n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Julius Volz >> PromLabs - promlabs.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/aa490c19-bbaa-43a6-a2ee-03066fbb126an%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/aa490c19-bbaa-43a6-a2ee-03066fbb126an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Julius Volz PromLabs - promlabs.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/CAObpH5y%2BG5Oh93ovT0BBsd3HBEgYzS%3DhzXko_px4x1zJ5Dm%2B%2Bg%40mail.gmail.com.

