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]>
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].
> 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/CA%2BT6YoykQDMAmC8%2BSQTujzprO9izdsUk%3DOtKuhR9kdSGnKjg5A%40mail.gmail.com.

Reply via email to