I understand. But in this if telemetry goes missing, it is not satisfying 
the actual condition. Hence, resolving the alert is not correct. How to 
stop that from happening?

On Tuesday, May 26, 2020 at 1:39:11 PM UTC-4, Murali Krishna Kanagala wrote:
>
> The alert should resolve if the query does not give any results.
>
> On Tue, May 26, 2020, 11:22 AM Arnav Bose <[email protected] 
> <javascript:>> wrote:
>
>> I have this scenario with prometheus-alert manager alerting:
>>
>>
>> alert condition:  K_status != 3
>>
>>
>> The alert gets triggered fine and when the value changes back to 3, the 
>> alert resolves correctly as well.
>>
>>
>> The problem starts when it has already alerted based on K_status != 3 and 
>> then the telemetry goes missing. Now, it triggers a resolution, which is 
>> not correct.
>>
>>
>> if I add a condition to check if the metric exists or not along with the 
>> main condition, will it alert and resolve correctly even when telemetry 
>> goes missing? Eg:
>>
>> K_status != 3 and on (port) K_status
>>
>> So, it triggers an alert when both conditions satisfy. Now if telemetry 
>> goes missing, the 2nd condition will not satisfy, correct? So, in this case 
>> will the alert resolve?
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/3d859fbf-c188-435e-8bb1-a402410424a3%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/3d859fbf-c188-435e-8bb1-a402410424a3%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/81966193-0322-4336-b6bd-c75c28a8c556%40googlegroups.com.

Reply via email to