On 06 May 08:31, Judah Morrison wrote:
> Hey promethues users!
> I am trying to send an alert when two out of three blackbox targets do not
> return probe_success 1.
> I have tried several solutions mostly along the lines of: " count
> by(job)(probe_success{job="blackbox_nodes"}) >= bool 2 " (sourced
You can try sum(probe_success) without(instance) < 2
> from: "https://www.robustperception.io/booleans-logic-and-math")
>
> Could someone please help with this?
>
> Thanks
> Judah Morrison
>
> --
> 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/927a73dd-0201-4556-a6e3-52748754278bn%40googlegroups.com.
--
Julien Pivotto
@roidelapluie
--
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/20210506161939.GA766974%40oxygen.