Skip to content

Fix max query lookback type #3598

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
merged 16 commits into from
Dec 15, 2020

Conversation

Wing924
Copy link
Contributor

@Wing924 Wing924 commented Dec 13, 2020

What this PR does:
Allow -querier.max-query-lookback use y|w|d suffix. (ex. 60d, 1y)

In #3452, -store.max-look-back-period was deprecated, and we should use -querier.max-query-lookback.
The old one support y|w|d suffix but new one don't support it.

Which issue(s) this PR fixes:

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Wing924 <weihe924stephen@gmail.com>
Signed-off-by: Wing924 <weihe924stephen@gmail.com>
@pull-request-size pull-request-size bot added size/M and removed size/S labels Dec 13, 2020
Signed-off-by: Wing924 <weihe924stephen@gmail.com>
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks!

@pstibrany pstibrany merged commit e45fa0b into cortexproject:master Dec 15, 2020
@Wing924 Wing924 deleted the fix_max_query_lookback_type branch December 15, 2020 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants