Thanks for all your help. I really appreciate
One more doubt

My application metrics are based on locales
As in ru-RU , en-GB, es-US.
Actually there is some issue with application vai metrics are coming twice

Like
 ru-RU = 10
ru-ru = 10

I want to filter out values only having all alphabets in lower case

How can I achieve this.

e

On Tue, 28 Apr, 2020, 4:04 pm Brian Candler, <[email protected]> wrote:

> On Tuesday, 28 April 2020 11:03:45 UTC+1, piyush sharma wrote:
>>
>> Is there any way. I can set no data condition as alerting .
>>
>
> You can use "or" to give a default value, e.g.
>
> (.... expr ....) or (up * 99)
>
> (assuming that 'expr' and 'up' have the same set of labels - if not, then
> you can use grouping terms).  See also the tail end of
> https://www.robustperception.io/existential-issues-with-metrics
>
> Or you can alert using the absent() function: see
> https://www.robustperception.io/absent-alerting-for-jobs
>
> Maybe also useful:
> https://www.robustperception.io/booleans-logic-and-math
> https://www.robustperception.io/combining-alert-conditions
>
> --
> 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/9aa379c2-9a95-4f56-a7a0-1c6483e17fb0%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/9aa379c2-9a95-4f56-a7a0-1c6483e17fb0%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/CAPz289u4R9OYVtzfksbz4JOqvSTunag3hMn%2BFqb9Hs_iRgoahw%40mail.gmail.com.

Reply via email to