Is it possible to make a Boolean Sum of Query

I have done several Builds in Jenkins that allow me to say if something is Healthy or not.
I would like to know if it is possible in my query to make a boolean sum of specified builds like:

(default_jenkins_builds_last_build_result{jenkins_job=“Build 1”} AND default_jenkins_builds_last_build_result{jenkins_job=“Build 2”} )OR default_jenkins_builds_last_build_result{jenkins_job=“Build 3”}

Trying to do this but actually I don’t understand syntax, maybe is it not possible?

Thanks for all people who can help me ! :slight_smile:

1 Like