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 Flame Graph #179293

Closed
Tracked by #167429
ThomThomson opened this issue Mar 22, 2024 · 2 comments
Closed
Tracked by #167429

[Embeddables Rebuild] O11y Migrate Flame Graph #179293

ThomThomson opened this issue Mar 22, 2024 · 2 comments
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 Flamegraph embeddable located in x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph_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.
@nickpeihl
Copy link
Member

Fixed by #184466

@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
Development

No branches or pull requests

4 participants