Hi Team
On Sunday, 11 December 2022 at 23:20:24 UTC+5:30 matt...@prometheus.io
wrote:
> When you say "the value is missing", what condition exactly do you want to
> alert on?
>
> To detect that there is *no* metric matching your selector, you can use
> the absent(…) function. It returns 1 when
When you say "the value is missing", what condition exactly do you want to
alert on?
To detect that there is *no* metric matching your selector, you can use the
absent(…) function. It returns 1 when … is nothing.
It gets more complicated and difficult if you want to detect that a single
series ha
On 09/12/2022 08:49, sebagloc...@gmail.com wrote:
Thanks for advice,
So in this case I just need to use absent like this In alert?:
- alert: Resource group in cluster is down
expr: absent(windows_mscluster_resourcegroup_state
{name!~"Available Storage"}) == 1
You aren't listing a met
us Users
Subject: Re: [prometheus-users] Null value in alerts
When you say "the value is missing", what condition exactly do you want to
alert on?
To detect that there is *no* metric matching your selector, you can use the
absent(…) function. It returns 1 when … is nothing.
Hi,
I'm having trouble setting up an alert that will send a notification when a
value is different from 0 and the value is missing (i.e. null).
expression:
windows_mscluster_resourcegroup_state {name!~"Available Storage"} != 0 or
on() vector(0)
The alert goes off non-stop. How can I set the me
5 matches
Mail list logo