-
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
[Inventory][ECO] Enable elastic entity model from inventory #193557
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
x-pack/plugins/observability_solution/inventory/public/assets/entities_intentory_light.png
Outdated
Show resolved
Hide resolved
...bility_solution/inventory/public/components/entity_enablement/enable_entity_model_button.tsx
Outdated
Show resolved
Hide resolved
...plugins/observability_solution/inventory/public/components/inventory_page_template/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/public/hooks/use_entity_manager.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/public/hooks/use_entity_manager.ts
Outdated
Show resolved
Hide resolved
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.
LGTM, just a nit.
x-pack/plugins/observability_solution/inventory/public/hooks/use_theme.ts
Outdated
Show resolved
Hide resolved
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.
From the recording, it looks like the loading state lasted about 25 seconds in this case.
Should we consider alerting the user that it may take some time? I mention this to ensure they don't mistakenly think something is malfunctioning. However, it's possible that our users are already aware that some processes may have longer loading times.
@kpatticha alongside with this, what happens when a user refreshes the page while the process is still running? |
that's a good point. I'll reach out to eem first to see if that's can be improved and if not I'll check with Roshan and Karolina @cauemarcondes as long as the enablement endpoint has been called it will continue running in the background and start the data tranforms. Once the user reloads the page, he will see the enablement page again until the GET enablement endpoint returns true. The downside is that he can still clicks on the Enable button but there is no way for us to know if he already started the process. He might see errors from EEM handling this case. |
This is an edge case, we can think about this later on. Thanks for checking it. |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsmiscellaneous assets size
History
To update your PR or re-run it, just comment with: |
…193557) ## Summary closes elastic#192328 > [!Note] > Empty state will be handled in a different ticket ### Checklist ### Enable with permissions https://github.com/user-attachments/assets/c7a5390b-2d7c-4897-a167-485da74ac336 https://github.com/user-attachments/assets/44e30654-04bd-42c3-9c1e-a24042b4cb40 ### Enable without permissions https://github.com/user-attachments/assets/b5f16f43-1cd4-48a7-bf04-3926b03e5a30 https://github.com/user-attachments/assets/be17ddf7-de7a-4573-b0c4-caadeece3cc5 ### TODO - [x] add dark screenshot of inventory (cherry picked from commit b5a061e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…93557) (#193712) # Backport This will backport the following commits from `main` to `8.x`: - [[Inventory][ECO] Enable elastic entity model from inventory (#193557)](#193557) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Katerina","email":"aikaterini.patticha@elastic.co"},"sourceCommit":{"committedDate":"2024-09-23T12:01:00Z","message":"[Inventory][ECO] Enable elastic entity model from inventory (#193557)\n\n## Summary\r\n\r\ncloses #192328 \r\n\r\n> [!Note] \r\n> Empty state will be handled in a different ticket\r\n### Checklist\r\n\r\n### Enable with permissions \r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/c7a5390b-2d7c-4897-a167-485da74ac336\r\n\r\n\r\nhttps://github.com/user-attachments/assets/44e30654-04bd-42c3-9c1e-a24042b4cb40\r\n\r\n\r\n\r\n\r\n### Enable without permissions \r\n\r\n\r\nhttps://github.com/user-attachments/assets/b5f16f43-1cd4-48a7-bf04-3926b03e5a30\r\n\r\n\r\nhttps://github.com/user-attachments/assets/be17ddf7-de7a-4573-b0c4-caadeece3cc5\r\n\r\n\r\n\r\n### TODO\r\n\r\n- [x] add dark screenshot of inventory","sha":"b5a061ec64ba4246c6f476dbe192435cb896fef1","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","v8.16.0"],"title":"[Inventory][ECO] Enable elastic entity model from inventory","number":193557,"url":"https://github.com/elastic/kibana/pull/193557","mergeCommit":{"message":"[Inventory][ECO] Enable elastic entity model from inventory (#193557)\n\n## Summary\r\n\r\ncloses #192328 \r\n\r\n> [!Note] \r\n> Empty state will be handled in a different ticket\r\n### Checklist\r\n\r\n### Enable with permissions \r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/c7a5390b-2d7c-4897-a167-485da74ac336\r\n\r\n\r\nhttps://github.com/user-attachments/assets/44e30654-04bd-42c3-9c1e-a24042b4cb40\r\n\r\n\r\n\r\n\r\n### Enable without permissions \r\n\r\n\r\nhttps://github.com/user-attachments/assets/b5f16f43-1cd4-48a7-bf04-3926b03e5a30\r\n\r\n\r\nhttps://github.com/user-attachments/assets/be17ddf7-de7a-4573-b0c4-caadeece3cc5\r\n\r\n\r\n\r\n### TODO\r\n\r\n- [x] add dark screenshot of inventory","sha":"b5a061ec64ba4246c6f476dbe192435cb896fef1"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193557","number":193557,"mergeCommit":{"message":"[Inventory][ECO] Enable elastic entity model from inventory (#193557)\n\n## Summary\r\n\r\ncloses #192328 \r\n\r\n> [!Note] \r\n> Empty state will be handled in a different ticket\r\n### Checklist\r\n\r\n### Enable with permissions \r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/c7a5390b-2d7c-4897-a167-485da74ac336\r\n\r\n\r\nhttps://github.com/user-attachments/assets/44e30654-04bd-42c3-9c1e-a24042b4cb40\r\n\r\n\r\n\r\n\r\n### Enable without permissions \r\n\r\n\r\nhttps://github.com/user-attachments/assets/b5f16f43-1cd4-48a7-bf04-3926b03e5a30\r\n\r\n\r\nhttps://github.com/user-attachments/assets/be17ddf7-de7a-4573-b0c4-caadeece3cc5\r\n\r\n\r\n\r\n### TODO\r\n\r\n- [x] add dark screenshot of inventory","sha":"b5a061ec64ba4246c6f476dbe192435cb896fef1"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Katerina <aikaterini.patticha@elastic.co>
* main: (176 commits) [ML][Rules] Fixes deletion in Check interval input for anomaly detection rule (elastic#193420) Bump maximum supported package spec version to 3.2 (elastic#193574) [ES|QL] new pattern for `SORT` autocomplete (elastic#193595) [Inventory][ECO] Entities page search bar (elastic#193546) [Synthetics] Remove extra overview route (elastic#192449) [Obs Alerts table] Fix error on clicking alert reason message (elastic#193693) [Migrations] Remove tests that are not applicable in 9.x (elastic#193699) [EDR Workflows] Set Agent Tamper Protection to false on policy unassignment (elastic#193017) [Inventory][ECO] Enable elastic entity model from inventory (elastic#193557) [EDR Workflows] The host isolation exception tab is hidden on the basic license if no artifacts (elastic#192562) [Entity Analytics] Ensuring definition transforms are managed (elastic#193408) [Automatic Import] Do not remove message field for unstructured logs (elastic#193678) [Fleet] Add missing permissions for connector package (elastic#193573) [Fleet] using @kbn/config-schema part 2 (outputs and other apis) (elastic#193326) [Migrations] Provide testing archives + tooling for migrations integration tests (elastic#193328) [ES|QL] Renames the textbased editor to esql editor (elastic#193521) [ES|QL] Update function metadata (elastic#193662) [Security Solution][Entity Analytics] Scoping the entity store to spaces (elastic#193303) [Docs] Update Sharing docs (elastic#190318) [ML] AIOps: Move Log Rate Analysis results callout to help popover. (elastic#192243) ... # Conflicts: # x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.test.tsx # x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.tsx
Summary
closes #192328
Note
Empty state will be handled in a different ticket
Checklist
Enable with permissions
Screen.Recording.2024-09-20.at.15.03.29.mov
Screen.Recording.2024-09-23.at.12.23.35.mov
Enable without permissions
Screen.Recording.2024-09-20.at.15.02.44.mov
Screen.Recording.2024-09-23.at.12.26.52.mov
TODO