Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Use DisableLookback feature in NodeReplacer" #304

Merged
merged 2 commits into from
May 14, 2020
Merged

Revert "Use DisableLookback feature in NodeReplacer" #304

merged 2 commits into from
May 14, 2020

Conversation

jacksontj
Copy link
Owner

This reverts commit c2454bb.

in #223 the objective was to avoid querying excessive amounts of
previous data (e.g. double lookback range). This particular change
actually made it so we are now significantly more strict about the
timestamps that we get from the downstream; which is not as desierable
(as any level of caching in the middle causes issues). What this does
mean though is if the result returns an inaccurate timestamp (due to
caching or something else) promql may interpolate the value -- which is
what it does for all other queries of data off of the scrape interval.
So this should be fine -- and was the previous behavior.

Fixes #298

This reverts commit c2454bb.

in #223 the objective was to avoid querying excessive amounts of
previous data (e.g. double lookback range). This particular change
actually made it so we are now significantly more strict about the
timestamps that we get from the downstream; which is not as desierable
(as any level of caching in the middle causes issues). What this does
mean though is if the result returns an inaccurate timestamp (due to
caching or something else) promql may interpolate the value -- which is
what it does for all other queries of data off of the scrape interval.
So this should be fine -- and was the previous behavior.

Fixes #298
With this option we can configure promql to not select previous points
on certain VectorSelectors when iterating. This is important as we have
pulled the data from another promql interface and as such don't want to
re-do the full LookbackDelta when selecting within the vector.

Fixes #298
@jacksontj
Copy link
Owner Author

@Wing924 mind checking that this PR resolves your issue in #298 ?

@Wing924
Copy link
Contributor

Wing924 commented May 14, 2020

I confirmed it works!

@jacksontj jacksontj merged commit f8bae29 into master May 14, 2020
@jacksontj jacksontj deleted the tmp branch May 14, 2020 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

query_range not work with cortex
2 participants