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

fix incorrectly set query frontend codec lookback delta #9984

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

francoposa
Copy link
Member

@francoposa francoposa commented Nov 21, 2024

What this PR does

This appears to have been a bug ever since I plugged the setting into the prometheus codec.

It should be set directly from the querier engine config.
The frontend v2 config also sets it from the original source, the querier engine config. Since this codec module gets initialized before the frontend v2 config setting does, by referencing the uninitialized config value, it always ends up zero instead of the real value.

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

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

@francoposa francoposa requested a review from a team as a code owner November 21, 2024 22:13
@francoposa francoposa force-pushed the francoposa/fix-query-frontend-codec-intialization branch from 7951bb2 to 028b10b Compare November 21, 2024 22:13
@francoposa francoposa merged commit b8772e6 into main Nov 21, 2024
29 checks passed
@francoposa francoposa deleted the francoposa/fix-query-frontend-codec-intialization branch November 21, 2024 22:55
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.

2 participants