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 metric here as you are using !~. You need to ensure
you are only using = in any labels.
--
Stuart Clark
--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/02603cd3-ccdd-9a73-cd3e-1aa9ed55e093%40Jahingo.com.