[Metrics UI] Handle/Improve ES errors in API handlers
Building on https://github.com/elastic/kibana/pull/96871, use handleEsError in response handlers for those that query ES. Example.
This makes our error messaging more friendly in the UI when an ES query fails during the request. Currently, it is simply a warning toast that says "500 internal sever error".
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We're not planning this at this time.