Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Embeddables Rebuild] O11y Migrate Stack Traces #179290

Closed
Tracked by #167429
ThomThomson opened this issue Mar 22, 2024 · 1 comment · Fixed by #184466
Closed
Tracked by #167429

[Embeddables Rebuild] O11y Migrate Stack Traces #179290

ThomThomson opened this issue Mar 22, 2024 · 1 comment · Fixed by #184466
Assignees
Labels
Feature:Embeddables Relating to the Embeddable system impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort project:embeddableRebuild Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@ThomThomson
Copy link
Contributor

As part of the Embeddable refactor, we will need to migrate the O11y Stack traces embeddable located in x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces_factory.ts

@ThomThomson ThomThomson added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:medium Medium Level of Effort impact:critical This issue should be addressed immediately due to a critical level of impact on the product. Feature:Embeddables Relating to the Embeddable system labels Mar 22, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

nickpeihl added a commit that referenced this issue Jun 13, 2024
…legacy embeddable factory (#184466)

Fixes #179290, #179291, #179292, #179293

Part of #167429

## Summary

Decouples the legacy embeddable factory from O11y profiling plugin.

The class-based embeddable factory is being removed in preference to a
[React embeddable
factory](#167429). The profiling
plugin was using the legacy embeddable factory to register profiling
components that could be shared to other observability plugins. While
not strictly enforced, the embeddable registry is expected to be used
_only_ for embedding components into Dashboards and Canvas. The
embeddables registered by the Profiling plugin were never made available
to Dashboards or Canvas. And based on offline discussions with
Observability leadership, it is not expected that Profiling components
will be made available for embedding on Dashboards or Canvas in the near
future.

In this PR, I have removed the legacy embeddable usage from the
Profiling plugin. The Observability shared plugin now includes a custom
registration method for the profiling plugin to register React
components so they can be shared to other plugins. This avoids any
circular dependency concerns while still allowing other Observability
plugins to "embed" profiling components in their pages.
@Heenawter Heenawter added loe:small Small Level of Effort and removed loe:medium Medium Level of Effort labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Embeddables Relating to the Embeddable system impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort project:embeddableRebuild Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
4 participants