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: added error box with warnings #7036

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

kartikaysaxena
Copy link
Contributor

@kartikaysaxena kartikaysaxena commented Jan 7, 2024

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Should fix #6876

Changes

Made changes in the api which now returns warnings with the response which are then shown in the frontend. Tests by courtesy of @harsh-ps-2003

Signed-off-by: Kartikay <[email protected]>
@kartikaysaxena
Copy link
Contributor Author

kartikaysaxena commented Jan 7, 2024

Hey @MichaHoffmann @yeya24 @GiedriusS can you please take a look at this pull request?

@pull-request-size pull-request-size bot added size/L and removed size/M labels Jan 13, 2024
pkg/queryfrontend/config.go Outdated Show resolved Hide resolved
}

return warningStrings
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if it is better to split the changes and we add warnings to backend response first...

Signed-off-by: Kartikay <[email protected]>
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.

Show error if targets page is not fully loaded
2 participants