of course ! thank you; totally overlooked that, because at some point we went for group_by: [...], because we didn't like how when 1 alert of a group resolves, that we then get a new notification, that just the remaining firing one is active; (a matter of taste somehow, i'd say); 'guess we cannot have the cake and eat the cake,so to say ;-)
cheers,fil On Wednesday, May 24, 2023 at 11:51:39 AM UTC+2 Ben Kochie wrote: > This is what the `group_by` feature in the alertmanager routing is for. > > https://prometheus.io/docs/alerting/latest/configuration/#route > > On Wed, May 24, 2023 at 11:33 AM Mario Cornaccini <[email protected]> > wrote: > >> hi, we got a custom made exporter, checking for running linux processes.. >> >> i got 1 scrape job with 27 targets; >> also there is a general alert rule: >> expr: up==0 >> >> so, when the exporter crashed, we got 27 alerts. >> >> is there a way or best-practice to detect that the exporter crashed, and >> inhibit the 27 alerts, and just have one alert, exporter crashed ? >> >> (happy to give any more info if needed) >> cheers, fil >> >> -- >> 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/b6796581-dcff-4577-a725-97e9e0e23c69n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/prometheus-users/b6796581-dcff-4577-a725-97e9e0e23c69n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/ec17bd8d-751f-402e-9a0e-ec220884dd06n%40googlegroups.com.

