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

[8.11] [Infra UI] Fix process charts after refactoring (#168159) #168210

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.11:

Questions ?

Please refer to the Backport tool documentation

Closes elastic#168156
## Summary

This PR fixes process charts error:

![image](https://github.com/elastic/kibana/assets/14139027/4d907c77-07a3-40da-96fd-2340bce2efc8)

I assume that after the merge of the refactoring PR, those files were
recreated by another PR or most likely when `main` was merged to [the
refactoring PR](elastic#166965) with them
as resolved conflicts. Deleting the files again fixed the issue.

## Testing
I found the issue on serverless but it probably can be reproduced on
on-prem as well
On Serverless:
- Start a local es instance: `yarn es serverless --kill --clean
--license trial --ssl`
- Enable infra in the `serverless.oblt.dev.yml` file:
   - `xpack.infra.enabled: true`
- Start a local kibana instance: `yarn serverless-oblt --ssl` and see if
the side nav contains the Infrastructure item
- Navigate to https://0.0.0.0:5601/ftw/app/hosts and open Asset details
flyout or page
- Click on the process tab and expand one of the processes
- The charts (CPU and Memory) should be visible

(cherry picked from commit 000b70c)
@kibanamachine kibanamachine merged commit 8bcb550 into elastic:8.11 Oct 6, 2023
3 checks passed
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
infra 1425 1424 -1

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.9MB 1.9MB -151.0B

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

cc @jennypavlova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants