Hello
I have the following situation: I am running several shops on a server.
I have three groups of persons (receivers)
- The tech admins, which should receive all alarms
- The shop team which should see all shop related alarm
- The shop owner who should only see the results for his shop
I tried to achieve this using the following route definition
# The root route on which each incoming alert enters.
route:
# A default receiver
receiver: tech-admins
# All the above attributes are inherited by all child routes and can
# overwritten on each.
# The child route trees.
routes:
# All alerts
# are dispatched to the technical admins
- receiver: 'tech-admins'
continue: true
group_wait: 10s
match_re:
job: '.*'
routes:
# All shop alerts
# are dispatched to the shop team.
- receiver: 'shop-admins'
group_by: [product]
continue: true
group_wait: 10s
match_re:
product: 'Shop.*'
routes:
# Alerts for individual shops are send to th the shop admins
- receiver: 'ownerTest'
match:
product: 'ShopTest'
When I now trigger an alarm for ShopTest te shop team and the shop owner receive email but not the tech-admins
I do not understand why this happens?
Is there a way to debug or test the alarms
P.S. I did not made the rule for the techadmins the default route, since there a contionue true is forbidden.