[Infra] Show the correct error message when the request to/api/metrics/source/
fails
#200190
Labels
bug
Fixes for quality problems that affect the customer experience
sdh-linked
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Kibana version: 8.15.x
Describe the bug: When the request to
/api/metrics/source/
fails we show the wrong message regarding the remote cluster connection - the correct message should be related to the source errorSteps to reproduce:
Expected behavior:
The error message should be based on the error thrown
To fix that we need is: first to return the source errors if any and then show the remote cluster error (only if the request is successful and no other errors are present)
The text was updated successfully, but these errors were encountered: