Skip to content

[Metrics][Discover] Handle METRICS_INFO failure in the UI#260940

Open
jorgeoliveira117 wants to merge 4 commits intoelastic:mainfrom
jorgeoliveira117:258493-metricsdiscover-handle-metrics_info-failure-in-the-ui
Open

[Metrics][Discover] Handle METRICS_INFO failure in the UI#260940
jorgeoliveira117 wants to merge 4 commits intoelastic:mainfrom
jorgeoliveira117:258493-metricsdiscover-handle-metrics_info-failure-in-the-ui

Conversation

@jorgeoliveira117
Copy link
Copy Markdown
Contributor

@jorgeoliveira117 jorgeoliveira117 commented Apr 2, 2026

Closes #258493

Summary

This PR changes the misleading "empty" behavior when the METRICS_INFO call fails in Metrics Experience by showing a dedicated error state with fixed title and description.

Changes

  • New MetricsInfoError component: EuiEmptyPrompt based on Discover's error callout
  • MetricsExperienceGrid now uses MetricsInfoError when there's a failure in useFetchMetricsData
  • Added unit tests

Expected Result

image

@jorgeoliveira117 jorgeoliveira117 added backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes Feature:Metrics in Discover Team:obs-exploration Observability Exploration team v9.4.0 labels Apr 2, 2026
@jorgeoliveira117 jorgeoliveira117 marked this pull request as ready for review April 2, 2026 16:00
@jorgeoliveira117 jorgeoliveira117 requested a review from a team as a code owner April 2, 2026 16:00
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-exploration-team (Team:obs-exploration)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:Metrics in Discover release_note:feature Makes this part of the condensed release notes Team:obs-exploration Observability Exploration team v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Metrics][Discover] Handle METRICS_INFO failure in the UI

2 participants