Hello all,

Can we apply filters in the prometheus query?

I had a query up{instance=~"$instance"}

for reachable up{instance=~"$instance"} == 1
for unreachable up{instance=~"$instance"} == 0

Can I combine the above two queries conditions (==0 and ==1) in a single 
query?

Thanks & regards,
Bharath Kumar.

-- 
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/87860a55-2d5b-4b96-81b3-50fddb6f4575n%40googlegroups.com.

Reply via email to