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

Query-frontend: allow unknown fields #2430

Merged
merged 1 commit into from
May 4, 2023

Conversation

joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented May 4, 2023

What this PR does:
Currently if there is a mismatch between the json sent by the querier and the one expected by the query-frontend it will fail to parse. This was recently revealed with the rename of inspectedBlocks -> totalBlocks.

This PR allows the frontend to leniently parse the response from the querier which prevent this issue and simplifies rollouts.

Signed-off-by: Joe Elliott <number101010@gmail.com>
@zalegrala
Copy link
Contributor

Interesting.

@joe-elliott joe-elliott merged commit 2344e4a into grafana:main May 4, 2023
14 checks passed
mapno pushed a commit that referenced this pull request May 8, 2023
Signed-off-by: Joe Elliott <number101010@gmail.com>
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.

None yet

3 participants