Thanks for your reply.
group_interval is for any alarms sent to my email receiver.  Maybe i can 
create a specific receiver with matcher for my log alarm.

Also, for a email receiver do you know if's possible to limit the max 
number of alarms sent?

Thanks
Loïc

Le mardi 26 avril 2022 à 19:31:02 UTC+2, [email protected] a écrit :

> 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/dcd378d2-54bd-4cca-9b75-95bf92ba944en%40googlegroups.com.

Reply via email to