Skip to content

BinaryExprBuilder🔗

Constructor🔗

new BinaryExprBuilder()

Methods🔗

build🔗

Builds the object.

build()

groupLeft🔗

See https://prometheus.io/docs/prometheus/latest/querying/operators/#many-to-one-and-one-to-many-vector-matches

groupLeft(labels: string[])

groupRight🔗

See https://prometheus.io/docs/prometheus/latest/querying/operators/#many-to-one-and-one-to-many-vector-matches

groupRight(labels: string[])

ignoring🔗

Allows ignoring certain labels when matching.

See https://prometheus.io/docs/prometheus/latest/querying/operators/#one-to-one-vector-matches

ignoring(labels: string[])

left🔗

left(left: cog.Builder<promql.Expr>)

on🔗

Allows reducing the set of considered labels to a provided list when matching.

See https://prometheus.io/docs/prometheus/latest/querying/operators/#one-to-one-vector-matches

on(labels: string[])

op🔗

op(op: promql.BinaryOp)
right(right: cog.Builder<promql.Expr>)

See also🔗