You have to alert on the condition "foo < 3, or foo does not exist".
To make the "does not exist" condition, you must have some other metric which *does* exist, for the relevant set of labels. Then you can alert on something like "(foo < 3) or (bar unless foo)" - with appropriate on(..) or ignoring(..) between bar and foo, if required. -- 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/16061c18-255e-43e4-ae0b-55f586ce84dc%40googlegroups.com.

