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?
четверг, 4 июня 2020 г. в 20:16:35 UTC+3, Harald Koch: > On Thu, Jun 4, 2020, at 11:09, [email protected] wrote: > > 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. > > > It's not useful to have 250 alerts firing at once in testing or in a real > outage. You need to find something less noisy to alert on. > > As an example, if you have a fleet of 100 servers, you might want to send > a single alert if more than 10 of them are down; then use a dashboard to > figure out which ones (and why). > > As others have mentioned you'll also want to group your alerts; at the > very least separate them by environment. > > -- > Harald > > -- 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/337ffbb8-1d01-49b5-96b8-67fade149951n%40googlegroups.com.

