grafana/pyroscope

UI should show better error when connecting to UI at wrong components

Open

#2,748 opened on Nov 22, 2023

View on GitHub
 (0 comments) (1 reaction) (0 assignees)C (528 forks)batch import
frontendgood first issuehelp wanted

Repository metrics

Stars
 (9,041 stars)
PR merge metrics
 (Avg merge 3d 5h) (84 merged PRs in 30d)

Description

Currently when opening the UI in micro-services mode and you pick a component that is not a querier or query-frontend, we show 405 errors (as the local query APIs are unavailable). Instead we should direct the user to connect to the query-frontend instead.

The only useful UI functions are probably the admin ones in this case

Contributor guide