Logical/set operators

These binary operators combine two instant vectors by matching their label sets. For the set operators that Elasticsearch supports, and their restrictions, see Not yet supported and PromQL limitations.

Returns all elements from the left vector plus elements from the right vector that have no matching label sets in the left.

Operands

lhs, rhs (instant_vector)
The two instant vectors to combine by matching label sets.

Returns

An instant_vector.

Example

vector1 or vector2
		

Differences from Prometheus

For the restrictions on or in Elasticsearch, see Unsupported PromQL constructs.