pyroscope
pyroscope copied to clipboard
UI should show better error when connecting to UI at wrong components
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