Yes. Actually this case happened with me just about an hour back. 
probe_success and response code together can give a lot of insight.

On Saturday, April 18, 2020 at 1:46:48 PM UTC+5:30, Julius Volz wrote:
>
> Btw., I read this again the next day and wondered what happened if there's 
> no HTTP status code at all for a failed check (like if the connection 
> couldn't be established), but luckily the BBE still exposes the status code 
> metric in that case, but with a value of 0, so the expression still works 
> in that case.
>
> On Sat, Apr 18, 2020 at 9:07 AM Yagyansh S. Kumar <[email protected] 
> <javascript:>> wrote:
>
>> Thanks a lot Julius.
>>
>> Btw., you could change the "=~" to just "=" because that regex is just 
>> doing a full string equality match anyway. >>
>> Thanks for pointing it out. I recently removed 2-3 jobs from that alert, 
>> so forgot to remove the regex matcher.
>>
>>>
>>>> -- 
>>>> 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/2447ca8c-c2a0-4bb7-bcf4-23fed0c30654%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/prometheus-users/2447ca8c-c2a0-4bb7-bcf4-23fed0c30654%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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/7928d6bd-a94c-41fe-a9cb-a02b90f63f8d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/7928d6bd-a94c-41fe-a9cb-a02b90f63f8d%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/296ada74-41d9-4712-a30a-fd6a337bfb9b%40googlegroups.com.

Reply via email to