-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Support max source resolution for instant queries #1431
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
Merged
bwplotka
merged 8 commits into
thanos-io:master
from
0robustus1:support_max_source_resolution_for_instant_queries
Aug 27, 2019
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
eb5ee6b
support max_source_resolution param for instant queries
0robustus1 2f0322c
add flag for defaultMaxSourceResolution
0robustus1 9cf0be5
update docs (forgot the make docs).
0robustus1 adb02ed
use step/5 directly within query_range
0robustus1 82338ae
add instant-query flag example case documentation.
0robustus1 298a929
adjust naming & comments to review comments.
0robustus1 4dc1856
hide --query.instant.default.max_source_resolution.
0robustus1 2433524
remove hidden instant-query resolution flag from docs.
0robustus1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
support max_source_resolution param for instant queries
This adds support for the ?max_source_resolution query param for instant queries. Instant queries had the issue that when there was a subquery requesting wide data ranges e.g. sum_over_time(metric_name[30d])) and the retention of raw data was for example only 7d, the query would (silently) only take data from the last 7 days into account (ignoring the downsampled 5m and 1h timeseries that were available with longer retention). We default to 1h max_source_resolution for now as this will cover the highest/broadest resolution available and should include all retention. It is configurable per query (although no known clients send it). Signed-off-by: Tim Reddehase <tim.reddehase@xing.com>
- Loading branch information
commit eb5ee6b95790db154143ff1407edde54cc323c2d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.