Skip to content

Negative offset with flag --enable-feature=promql-negative-offset #4022

@vsile

Description

@vsile

Prometheus v2.26.0 has the flag --enable-feature=promql-negative-offset to enable negative offset.
It works fine.

But I can't enable it with Thanos 0.19.0.
It looks like the flag is not available for Thanos Query.
So the next query my_metric_status offset -24h fails with the error 1:31: parse error: unexpected <op:-> in offset, expected duration

Is this feature implemented?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions