Atibhi Agrawal
6b36afbbec
Add negative matchers for routing. ( #2434 )
...
Add negative route matchers using label.Matcher
Signed-off-by: aSquare14 <atibhi.a@gmail.com>
Signed-off-by: beorn7 <beorn@grafana.com>
Co-authored-by: Björn Rabenstein <beorn@grafana.com>
2021-01-15 21:11:39 +01:00
Sho Okada
04ca507125
Inherit their parent route's grouping when "group_by: [...]" ( #2154 )
...
Signed-off-by: Sho Okada <shokada3@gmail.com>
2020-01-10 14:20:03 +01:00
johncming
134c3c0ed9
move walkRoute to dispatch package. ( #2136 )
...
Signed-off-by: johncming <johncming@yahoo.com>
2019-12-20 15:27:58 +01:00
kirillsablin
32bb289906
dispatch: Add group_by_all support ( #1588 )
...
To aggregate by all possible labels use '...' as the sole label name.
This effectively disables aggregation entirely, passing through all
alerts as-is. This is unlikely to be what you want, unless you have
a very low alert volume or your upstream notification system performs
its own grouping. Example: group_by: [...]
Signed-off-by: Kyryl Sablin <kyryl.sablin@schibsted.com>
2018-11-29 12:31:14 +01:00
Manos Fokas
300a87e85b
Removed file changes to resolve conflict. ( #1318 )
...
Signed-off-by: manosf <manosf@protonmail.com>
2018-04-17 16:22:46 +02:00
Corentin Chary
9b2afbf18b
Make sure Matchers are always ordered
...
This fixes https://github.com/prometheus/alertmanager/issues/881
Also add some unit tests
2017-06-23 15:30:34 +02:00
Fabian Reinartz
3931d4e64b
*: restructure package tree
...
This commit packages up individual modules and removes the top-level
main package.
2016-08-09 14:24:52 +02:00