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

ui: Fix displaying targets error and handle scraper-only mode correctly #2325

Merged
merged 2 commits into from
Dec 21, 2022

Conversation

brancz
Copy link
Member

@brancz brancz commented Dec 21, 2022

In scraper-only mode the agents gRPC service is not served, therefore returning UNIMPLEMENTED, which causes the UI not to be able to render the reply for the targets being scraped.

Additionally this patch also actually renders the errors that occur to allow for better troubleshooting when they do occur.

In scraper-only mode the agents gRPC service is not served, therefore
returning `UNIMPLEMENTED`, which causes the UI not to be able to render
the reply for the targets being scraped.

Additionally this patch also actually renders the errors that occur to
allow for better troubleshooting when they do occur.
@brancz brancz requested a review from a team as a code owner December 21, 2022 15:04
@vercel
Copy link

vercel bot commented Dec 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ui-documentation 🔄 Building (Inspect) Dec 21, 2022 at 3:05PM (UTC)

Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

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

Oh, nice catch!

@brancz brancz merged commit f814f01 into main Dec 21, 2022
@brancz brancz deleted the fix-targets-error branch December 21, 2022 15:47
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.

2 participants