Usecase: I am trying to get the first value of a metric if count is above a certain threshold in order to get labels.
I am trying "expr" like : ------------------------------------------------ IF count(probe_success == 0) > 100 THEN probe_success == 0 | first ------------------------------------------------ The problem is, I am unable to get "instance" label when using count function and hence I am unable to pass it to receiver which has a mandatory condition for instance name. -- 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/129a2a78-16d1-4845-ab8f-bac2c2200dcfn%40googlegroups.com.

