-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[embeddable rebuild] log stream react embeddable #184247
Conversation
/ci |
@elasticmachine merge upstream |
/ci |
/ci |
/ci |
/ci |
/ci |
/ci |
Pinging @elastic/kibana-presentation (Team:Presentation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes LGTM, although I have a suggestion which would make easier the cleanup and imminent deprecation of the LogStream:
as this embeddable has nothing concerning the infra plugin and all the logic for the <LogStream />
component lives in the logs_shared
plugin, can we do the extra mile and move this embeddable and it feature registration into logs_shared
?
I know it's unplanned work and is not required for these changes, although it would make related pieces closer and have a clearer ownership of this in the codebase (+ when deprecating this, all the related parts would be together in the same plugin).
Let me know your thoughts and feel free to reach out with any questions 👌
I would like to keep the scoping of this PR as minimal as possible and would prefer to exclude all unnecessary work at this time. |
Ok, I'll take another round of review to double-check 👌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, can the legacy log_stream_embeddable.ts file be removed or we still need it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Infra plugin config code changes LGTM
Thanks for pointing this out. I have removed the file with 46e8209 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presentation team changes LGTM! Code only review. Looks like a really straightforward embeddable conversion!
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
References to deprecated APIs
History
To update your PR or re-run it, just comment with: |
PR migrates log stream embeddable from the legacy class based system. ### test instructions 1. Run kibana on a system with o11y data and log streams 2. Create a new dashboard, click "Add panel" => "Log stream" 3. Verify panel behavior has not changed with legacy embeddable 4. Click panel context menu and select "Settings" 5. Set custom title, description and time range. Verify behavior has not changed with legacy embeddable 6. Import dashboard with log stream panel. Verify behavior has not changed with legacy embeddable --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
PR migrates log stream embeddable from the legacy class based system.
test instructions