Hello, 
we have a blackbox exporter which is probing around 50 targets.
We also have an alert rule: *up == 0 *
so we can know then certain targets are not scraped.

*The problem is*: if blackbox exporter goes down, we receive 50 alerts. One 
for each "down" target (instance). We would like to receive only single 
alert.
I was thinking that inhibit_rule might solve that problem.
But it's not.
Here is the config:
*inhibit_rules: *
*  - equal: *
*      - instance *
*    source_matchers: *
*      - alertname="Prometheus target state" *
*    target_matchers: *
*      - alertname="Prometheus target state" *
*       - job="Blackbox exporter job"*

Does anyone know how we can solve that problem? 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/9c72565f-2701-4495-9c15-a75094216b47n%40googlegroups.com.

Reply via email to