grafana/pyroscope

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

Open

#2748 opened on Nov 22, 2023

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

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