BinaryExpr
Constructor
Methods
build
Builds the object.
def build() -> promql.BinaryExpr
group_left
See https://prometheus.io/docs/prometheus/latest/querying/operators/#many-to-one-and-one-to-many-vector-matches
def group_left(labels: list[str]) -> typing.Self
group_right
See https://prometheus.io/docs/prometheus/latest/querying/operators/#many-to-one-and-one-to-many-vector-matches
def group_right(labels: list[str]) -> typing.Self
ignoring
Allows ignoring certain labels when matching.
See https://prometheus.io/docs/prometheus/latest/querying/operators/#one-to-one-vector-matches
def ignoring(labels: list[str]) -> typing.Self
left
def left(left: cogbuilder.Builder[promql.Expr]) -> typing.Self
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
def on(labels: list[str]) -> typing.Self
op
def op(op: promql.BinaryOp) -> typing.Self
right
def right(right: cogbuilder.Builder[promql.Expr]) -> typing.Self
See also