elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.33k stars 7.97k forks source link

[SLO] Move overview embeddable to new react registry #181930

Closed mgiota closed 5 days ago

mgiota commented 1 week ago

Fixes https://github.com/elastic/kibana/issues/179296

πŸ’ Summary

This PR converts the SLO Overview embeddable (Single SLO & Grouped SLOs) to the new React Embeddable framework. There are no UI changes to the current embeddable and the behavior should be the same. I have a video of how the embeddable should work.

https://github.com/elastic/kibana/assets/2852703/d37c3f99-3140-4a09-a223-36a1d2242649

βœ”οΈ Acceptance criteria

apmmachine commented 1 week ago

:robot: GitHub comments

Expand to view the GitHub comments

Just comment with: - `/oblt-deploy` : Deploy a Kibana instance using the Observability test environments. - `run` `elasticsearch-ci/docs` : Re-trigger the docs validation. (use unformatted text in the comment!)

elasticmachine commented 1 week ago

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

mgiota commented 5 days ago

@elasticmachine merge upstream

mgiota commented 5 days ago

@shahzad31 What issues did you find? Is it about the blank embeddable panel that was caused after synchronizing with main? Issue was caused because of KibanaThemeProvider. My solution to remove it is fine, you can check relevant discussion here

mgiota commented 5 days ago

@sebelga Every approval is more than welcome :-)

kibana-ci commented 5 days ago

:green_heart: Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
slo 749 752 +3

Async chunks

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

id before after diff
slo 733.9KB 765.5KB +31.6KB

Canvas Sharable Runtime

The Canvas "shareable runtime" is an bundle produced to enable running Canvas workpads outside of Kibana. This bundle is included in third-party webpages that embed canvas and therefor should be as slim as possible.

id before after diff
module count - 5407 +5407
total size - 9.1MB +9.1MB

Page load bundle

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

id before after diff
slo 22.6KB 23.0KB +467.0B
Unknown metric groups #### async chunk count | id | [before](https://github.com/elastic/kibana/commit/af580c9f92c1dfec74bdac6f4aacf03b9ef0b21d) | [after](https://github.com/elastic/kibana/commit/8903ae0a2489f519b12dcce1346889919f2948f0) | diff | | --- | --- | --- | --- | | `slo` | 25 | 27 | +2 |

History

To update your PR or re-run it, just comment with: @elasticmachine merge upstream

cc @mgiota