Reputation: 103
What does not work:
Upvotes: 10
Views: 7546
Reputation: 13432
As mentioned in this feature request there is a workaround for time shifts "into future".
Instead of something like -1h
use 0h+1h
.
Upvotes: 0
Reputation: 756
Since 2.48.01 you may use offset modifier in promQL. However, this will give you the right data with wrong (or confusing, because time offset is not applied to) timestamp.
1 : This was also available since 2.26.0, but only with additional flag --enable-feature=promql-negative-offset
Upvotes: 2