[prometheus-users] Re: change mail template on windows

2023-06-18 Thread Kolja Krückmann
Thank you very much Brian! This will be my last post for now. I'm going to change company. I hope you can help my collegues as good as you helped me! This community is great, keep it up. Brian Candler schrieb am Sonntag, 18. Juni 2023 um 19:04:36 UTC+2: > That will never work. All labels (inclu

[prometheus-users] Re: change mail template on windows

2023-06-18 Thread Brian Candler
That will never work. All labels (including severity) are things set in your alerting rules. You will never see a label with severity=resolved, unless you actually make an alerting rule which sets severity=resolved when it fires. (match_re does work though; it's the old syntax whereas "matche

[prometheus-users] Re: change mail template on windows

2023-06-18 Thread Kolja Krückmann
Hi Brian, thanks here are the routes to the receivers: routes: - receiver: email_critical group_interval: 1m group_wait: 5m repeat_interval: 24h group_by: ['alertname', 'severity'] matchers: - severity="critical" - severity!="resolved" - receiver: email_warning