Skip to content

SubqueryExpr🔗

Constructor🔗

SubqueryExpr()

Methods🔗

build🔗

Builds the object.

def build() -> promql.SubqueryExpr

at🔗

The at (or @) modifier allows changing the evaluation time for individual instant and range vectors in a query.

The time supplied to the @ modifier is a unix timestamp.

https://prometheus.io/docs/prometheus/latest/querying/basics/#modifier

def at(at: str) -> typing.Self

expr🔗

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

offset🔗

The offset modifier allows changing the time offset for individual instant and range vectors in a query.

https://prometheus.io/docs/prometheus/latest/querying/basics/#offset-modifier

def offset(offset: str) -> typing.Self

range_val🔗

Range of samples back from the current instant.

https://prometheus.io/docs/prometheus/latest/querying/basics/#range-vector-selectors

def range_val(range_val: str) -> typing.Self

resolution🔗

Empty string for default resolution.

def resolution(resolution: str) -> typing.Self

See also🔗