Skip to content

SubqueryExprBuilder🔗

Constructor🔗

new SubqueryExprBuilder()

Methods🔗

build🔗

Builds the object.

build()

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

at(at: string)

expr🔗

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

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

offset(offset: string)

range🔗

Range of samples back from the current instant.

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

range(range: string)

resolution🔗

Empty string for default resolution.

resolution(resolution: string)

See also🔗