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!