Skip to content

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 <[email protected]>
Signed-off-by: Wing924 <[email protected]>
@pull-request-size pull-request-size bot added size/M and removed size/S labels Dec 13, 2020
Signed-off-by: Wing924 <[email protected]>
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