On 13 Jul 23:44, Marek Fiala wrote:
> Hi,
> 
> I have my own custom exporter with metrics of our network devices.
> 
> Sometimes this exporter is down for short time and it causes resolve all 
> alerts and then start again. So all sms/email notifications are sent again.
> 
> How can I solve this issue? I don't want to resolve alerts (and send 
> notifications) when I have no data (exporter is down).


You are looking for inhibition:

https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule


> 
> Thank you.
> 
> -- 
> 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/8164c869-2262-46ce-86bf-b309f0bc4696o%40googlegroups.com.


-- 
Julien Pivotto
@roidelapluie

-- 
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/20200714092124.GA57436%40oxygen.

Reply via email to