Hi, colleagues!I setup and configured Alertmanager for getting email notifications, but all of my alerts about different environments are gathered in one email and sorted by alphabetical order by job_name. In test environment there are approx. 250 alerts in one email. It doesn't work for urgents reaction.Prometheus rules have 3 rules per 1 env. Now I'm testing 7 envs.
Hi, Christian!Thank you for your answer, but could you a little bit explain your point? I don't understand it. I used 'group_by' in my config. If I understood you correctly, you offered to comment the 'group_by' block, don't you?
The suggestion is to use the exact string Christian gave, with
the explanation being in the documentation he linked to.
пятница, 5 июня 2020 г. в 09:25:39 UTC+3, Christian Hoffmann:
Hi,
On 6/5/20 8:20 AM, anya...@gmail.com wrote:
> Thank you, Harald, but it's a customer's requirement. 250 alerts are at
> the test process, after testing they should be much less. The main
> question now: how to split one email to one alert per email?
Shouldn't a simple group_by: ['...'] be sufficient in your case?
https://prometheus.io/docs/alerting/configuration/#configuration-file
Kind regards,
Christian
-- Stuart Clark
--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/045353da-d097-4d8c-b62d-54f47220196bn%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/045353da-d097-4d8c-b62d-54f47220196bn%40googlegroups.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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/283fcf32-b165-4e89-b27b-7a95fad7695en%40googlegroups.com.