Skip to content

[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics#226805

Merged
jennypavlova merged 3 commits intoelastic:mainfrom
jennypavlova:225972-metrics-error-wrapper-change
Jul 8, 2025
Merged

[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics#226805
jennypavlova merged 3 commits intoelastic:mainfrom
jennypavlova:225972-metrics-error-wrapper-change

Conversation

@jennypavlova
Copy link
Copy Markdown
Member

@jennypavlova jennypavlova commented Jul 7, 2025

Part of #225972
3 of 5

Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics.

Testing

  • Introduce an error in the metrics page (maybe a typo, non-existent component, or anything)
  • Open http://localhost:5601/ftw/app/metrics/
  • The error should be visible and it should still work as before (but also including telemetry)
  • image

@jennypavlova jennypavlova self-assigned this Jul 7, 2025
@jennypavlova jennypavlova added the Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. label Jul 7, 2025
@jennypavlova jennypavlova added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor labels Jul 7, 2025
@jennypavlova jennypavlova marked this pull request as ready for review July 7, 2025 13:58
@jennypavlova jennypavlova requested a review from a team July 7, 2025 13:58
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod bot requested a review from a team as a code owner July 7, 2025 14:09
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
infra 1.0MB 1.0MB +16.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
infra 49.9KB 50.0KB +76.0B

cc @jennypavlova

Copy link
Copy Markdown
Contributor

@gbamparop gbamparop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code owner changes for the tsconfig.json LGTM!

@jennypavlova jennypavlova merged commit c6e758c into elastic:main Jul 8, 2025
13 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.17, 8.18, 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/16145260436

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.17 Backport failed because of merge conflicts
8.18 Backport failed because of merge conflicts
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 226805

Questions ?

Please refer to the Backport tool documentation

jennypavlova added a commit to jennypavlova/kibana that referenced this pull request Jul 8, 2025
…a Metrics (elastic#226805)

Part of elastic#225972
 3 of 5

## Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics.

## Testing

- Introduce an error in the metrics page (maybe a typo, non-existent
component, or anything)
- Open http://localhost:5601/ftw/app/metrics/
- The error should be visible and it should still work as before (but
also including telemetry)
-
![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c6e758c)

# Conflicts:
#	x-pack/solutions/observability/plugins/infra/tsconfig.json
jennypavlova added a commit to jennypavlova/kibana that referenced this pull request Jul 8, 2025
…a Metrics (elastic#226805)

Part of elastic#225972
 3 of 5

## Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics.

## Testing

- Introduce an error in the metrics page (maybe a typo, non-existent
component, or anything)
- Open http://localhost:5601/ftw/app/metrics/
- The error should be visible and it should still work as before (but
also including telemetry)
-
![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c6e758c)

# Conflicts:
#	x-pack/solutions/observability/plugins/infra/tsconfig.json
jennypavlova added a commit to jennypavlova/kibana that referenced this pull request Jul 8, 2025
…a Metrics (elastic#226805)

Part of elastic#225972
 3 of 5

## Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics.

## Testing

- Introduce an error in the metrics page (maybe a typo, non-existent
component, or anything)
- Open http://localhost:5601/ftw/app/metrics/
- The error should be visible and it should still work as before (but
also including telemetry)
-
![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c6e758c)

# Conflicts:
#	x-pack/solutions/observability/plugins/infra/tsconfig.json
jennypavlova added a commit to jennypavlova/kibana that referenced this pull request Jul 8, 2025
…a Metrics (elastic#226805)

Part of elastic#225972
 3 of 5

## Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics.

## Testing

- Introduce an error in the metrics page (maybe a typo, non-existent
component, or anything)
- Open http://localhost:5601/ftw/app/metrics/
- The error should be visible and it should still work as before (but
also including telemetry)
-
![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c6e758c)

# Conflicts:
#	x-pack/solutions/observability/plugins/infra/public/pages/metrics/index.tsx
#	x-pack/solutions/observability/plugins/infra/tsconfig.json
jennypavlova added a commit to jennypavlova/kibana that referenced this pull request Jul 8, 2025
…a Metrics (elastic#226805)

Part of elastic#225972
 3 of 5

## Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics.

## Testing

- Introduce an error in the metrics page (maybe a typo, non-existent
component, or anything)
- Open http://localhost:5601/ftw/app/metrics/
- The error should be visible and it should still work as before (but
also including telemetry)
-
![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c6e758c)

# Conflicts:
#	x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx
#	x-pack/plugins/observability_solution/infra/tsconfig.json
@jennypavlova
Copy link
Copy Markdown
Member Author

💚 All backports created successfully

Status Branch Result
9.1
9.0
8.19
8.18
8.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

jennypavlova added a commit that referenced this pull request Jul 8, 2025
…e Infra Metrics (#226805) (#227046)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the
Infra Metrics (#226805)](#226805)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2025-07-08T13:54:20Z","message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.2.0"],"title":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics","number":226805,"url":"https://github.com/elastic/kibana/pull/226805","mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226805","number":226805,"mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}}]}]
BACKPORT-->
jennypavlova added a commit that referenced this pull request Jul 8, 2025
…e Infra Metrics (#226805) (#227045)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the
Infra Metrics (#226805)](#226805)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2025-07-08T13:54:20Z","message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.2.0"],"title":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics","number":226805,"url":"https://github.com/elastic/kibana/pull/226805","mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226805","number":226805,"mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}}]}]
BACKPORT-->
jennypavlova added a commit that referenced this pull request Jul 8, 2025
…he Infra Metrics (#226805) (#227053)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the
Infra Metrics (#226805)](#226805)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2025-07-08T13:54:20Z","message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.2.0"],"title":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics","number":226805,"url":"https://github.com/elastic/kibana/pull/226805","mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226805","number":226805,"mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}}]}]
BACKPORT-->
jennypavlova added a commit that referenced this pull request Jul 8, 2025
…he Infra Metrics (#226805) (#227052)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the
Infra Metrics (#226805)](#226805)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2025-07-08T13:54:20Z","message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.2.0"],"title":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics","number":226805,"url":"https://github.com/elastic/kibana/pull/226805","mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226805","number":226805,"mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}}]}]
BACKPORT-->
jennypavlova added a commit that referenced this pull request Jul 8, 2025
…he Infra Metrics (#226805) (#227048)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Infra] Replace EuiErrorBoundary with KibanaErrorBoundary on the
Infra Metrics (#226805)](#226805)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2025-07-08T13:54:20Z","message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.2.0"],"title":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics","number":226805,"url":"https://github.com/elastic/kibana/pull/226805","mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226805","number":226805,"mergeCommit":{"message":"[Infra]
Replace EuiErrorBoundary with KibanaErrorBoundary on the Infra Metrics
(#226805)\n\nPart of #225972 \n 3 of 5\n\n## Summary\n\nThis PR replaces
EuiErrorBoundary with KibanaErrorBoundary on the Infra\nMetrics.\n\n##
Testing\n\n- Introduce an error in the metrics page (maybe a typo,
non-existent\ncomponent, or anything)\n- Open
http://localhost:5601/ftw/app/metrics/\n- The error should be visible
and it should still work as before (but\nalso including
telemetry)\n-\n![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6e758cfc5afe395396409cf8b16baa024dc821b"}}]}]
BACKPORT-->
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…a Metrics (elastic#226805)

Part of elastic#225972 
 3 of 5

## Summary

This PR replaces EuiErrorBoundary with KibanaErrorBoundary on the Infra
Metrics.

## Testing

- Introduce an error in the metrics page (maybe a typo, non-existent
component, or anything)
- Open http://localhost:5601/ftw/app/metrics/
- The error should be visible and it should still work as before (but
also including telemetry)
-
![image](https://github.com/user-attachments/assets/0fe1d2e0-ca98-40b5-862f-60b567b1e8a6)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. v8.17.9 v8.18.4 v8.19.0 v9.0.4 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants