The dropdown of available metrics on the query browser page shows a generic message when it fails to fetch the metrics from the Prometheus API.
A common reason for the API call failing is that the user does not have access to the API. In this case, it would be more helpful to show a message saying that.
Created attachment 1714359 [details]
error info before the fix