Thankyou Julius :)

On Fri, May 1, 2020 at 2:21 AM Julius Volz <[email protected]> wrote:

> Yes, the inhibit rule takes precedence, so no notifications should be sent
> out as long as the inhibit condition is true.
>
> E.g. if you have:
>
> * an alert {alertname="memoryHigh", namespace="monitoring",
> prometheus="myprometheus"}
> * an alert {alertname="Inhibit", prometheus="myprometheus"}
>
> ...then you will not get a notification for that first alert. Depending on
> your other routes, you may still get a notification for the second one
> though (if it's not routed to a no-op receiver).
>
> On Thu, Apr 30, 2020 at 7:25 PM Radha R4 <[email protected]>
> wrote:
>
>> I have alertmanager rules defined as below
>>
>> My query is if memoryHigh alert comes up,will they be routed to receiver
>> ChannelA as per the route match rule or will they be inhibited as per
>> inhibit rule? Does the inhibit rule takes precendence here?
>>   routes:
>> - match_re:
>> namespace: monitoring
>> receiver: channelA
>> inhibit_rules:
>> - target_match:
>> alertname: memoryHigh
>> namespace: monitoring
>> source_match:
>> alertname: Inhibit
>> equal:
>> - prometheus
>>
>> --
>> 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/0dfc3f5a-615e-4f62-84af-9962e709d11f%40googlegroups.com
>> <https://groups.google.com/d/msgid/prometheus-users/0dfc3f5a-615e-4f62-84af-9962e709d11f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAO%2BE3wVwwn7b%3DqeFWVOpVvbNpVacxj%2BM46QLP00bENYWpF515A%40mail.gmail.com.

Reply via email to