in PromQL, I want to write
If metric_a>=bool 3:
return metric_b
else:
return 1
I am thinking to write as
(metric_b and metric_a>=3) or metric_a<bool 3
but I found that when I switch the metric order, like A or B, B or A, the query result would change, also am not sure if what I have means my if-else why the or/and operator would give inconsist result? also what is a best way to present the if-else statement in here?

