Skip to content

AggregationExpr🔗

Constructor🔗

AggregationExpr()

Methods🔗

build🔗

Builds the object.

def build() -> promql.AggregationExpr

by🔗

By drops labels that are not listed in the by clause.

def by(by: list[str]) -> typing.Self

expr🔗

def expr(expr: cogbuilder.Builder[promql.Expr]) -> typing.Self

op🔗

def op(op: promql.AggregationOp) -> typing.Self

param🔗

def param(param: cogbuilder.Builder[promql.Expr]) -> typing.Self

without🔗

List of labels to remove from the result vector, while all other labels are preserved in the output.

def without(without: list[str]) -> typing.Self

See also🔗