You can use group_interval. You can specify the time you want to wait after initial notification is sent before firing new alerts.
On Tuesday, April 26, 2022 at 11:58:31 AM UTC-4 Loïc wrote: > Hi, > > I want use an exporter (mtail or fluentd) to alerting when a pattern match > into the kubernetes logs. > Currently, i use alertmanager receivers that are not very advanced > (mattermost, mail). > > When my exporter matchs a pattern, a metric is updated to 1. An alerting > is send from Alertmanager. Then the metric is updated to 0 because no new > recording. So alertmanager close the issue. > If several logs match during the following minutes, an alert will be > generated almost every time and the end-user will be flooded of messages. > > Do you know how I can deal with this situation? For a rule, Is it possible > not to alarm again for a period of time? > > Thanks > -- 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/4c097412-ef35-48e9-b762-414d0adb6e44n%40googlegroups.com.

