Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.16] [APM/Infra] Display entity detail views for logs-only signals …
…when EEM is enabled (elastic#196387) (elastic#196838) # Backport This will backport the following commits from `main` to `8.16`: - [[APM/Infra] Display entity detail views for logs-only signals when EEM is enabled (elastic#196387)](elastic#196387) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Irene Blanco","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-18T10:21:48Z","message":"[APM/Infra] Display entity detail views for logs-only signals when EEM is enabled (elastic#196387)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/196084.\r\n\r\nWe want to show Service, Host and Container views instead of onboarging\r\nwhen EEM is enabled, entityCentricExperience advanced setting is enabled\r\nand the entity has logs.\r\n\r\n>[!NOTE]\r\nThe visibility of the noDataConfig is evaluated at a generic template\r\nlevel for all 3 entity types.\r\nTo manage visibility based on entity-specific information (checking for\r\nlogs), we had to add checks within these templates. While this isn’t an\r\nideal solution, it’s temporary, as we expect upcoming generic entity\r\nviews will eventually allow us to remove this logic.\r\n\r\n## Implementation details\r\n\r\nThere's no need to check if EEM is enabled, as the used `dataStreams`\r\ninformation won’t return any results if EEM is disabled. This makes the\r\nextra check unnecessary.\r\n\r\n|Entity|Before|After|\r\n|-|-|-|\r\n\r\n|Service|![logs_only_service_before](https://github.com/user-attachments/assets/b92e7801-058d-4dc7-8cc8-eea128f19e4c)|![logs_only_service_after](https://github.com/user-attachments/assets/52eaa3cd-9cb9-427d-b9c2-d87ae6440dac)|\r\n\r\n|Host/Container|![logs_only_host_before](https://github.com/user-attachments/assets/211b2f37-0cba-42e7-bb14-ad3f44fa1a51)|![logs_only_host_after](https://github.com/user-attachments/assets/32cab468-f3d0-49f9-8835-deb016189a14)|\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Cauê Marcondes <[email protected]>","sha":"586330bd0b557640faa3e019201592f67d180aa4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0"],"title":"[APM/Infra] Display entity detail views for logs-only signals when EEM is enabled","number":196387,"url":"https://github.com/elastic/kibana/pull/196387","mergeCommit":{"message":"[APM/Infra] Display entity detail views for logs-only signals when EEM is enabled (elastic#196387)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/196084.\r\n\r\nWe want to show Service, Host and Container views instead of onboarging\r\nwhen EEM is enabled, entityCentricExperience advanced setting is enabled\r\nand the entity has logs.\r\n\r\n>[!NOTE]\r\nThe visibility of the noDataConfig is evaluated at a generic template\r\nlevel for all 3 entity types.\r\nTo manage visibility based on entity-specific information (checking for\r\nlogs), we had to add checks within these templates. While this isn’t an\r\nideal solution, it’s temporary, as we expect upcoming generic entity\r\nviews will eventually allow us to remove this logic.\r\n\r\n## Implementation details\r\n\r\nThere's no need to check if EEM is enabled, as the used `dataStreams`\r\ninformation won’t return any results if EEM is disabled. This makes the\r\nextra check unnecessary.\r\n\r\n|Entity|Before|After|\r\n|-|-|-|\r\n\r\n|Service|![logs_only_service_before](https://github.com/user-attachments/assets/b92e7801-058d-4dc7-8cc8-eea128f19e4c)|![logs_only_service_after](https://github.com/user-attachments/assets/52eaa3cd-9cb9-427d-b9c2-d87ae6440dac)|\r\n\r\n|Host/Container|![logs_only_host_before](https://github.com/user-attachments/assets/211b2f37-0cba-42e7-bb14-ad3f44fa1a51)|![logs_only_host_after](https://github.com/user-attachments/assets/32cab468-f3d0-49f9-8835-deb016189a14)|\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Cauê Marcondes <[email protected]>","sha":"586330bd0b557640faa3e019201592f67d180aa4"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196387","number":196387,"mergeCommit":{"message":"[APM/Infra] Display entity detail views for logs-only signals when EEM is enabled (elastic#196387)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/196084.\r\n\r\nWe want to show Service, Host and Container views instead of onboarging\r\nwhen EEM is enabled, entityCentricExperience advanced setting is enabled\r\nand the entity has logs.\r\n\r\n>[!NOTE]\r\nThe visibility of the noDataConfig is evaluated at a generic template\r\nlevel for all 3 entity types.\r\nTo manage visibility based on entity-specific information (checking for\r\nlogs), we had to add checks within these templates. While this isn’t an\r\nideal solution, it’s temporary, as we expect upcoming generic entity\r\nviews will eventually allow us to remove this logic.\r\n\r\n## Implementation details\r\n\r\nThere's no need to check if EEM is enabled, as the used `dataStreams`\r\ninformation won’t return any results if EEM is disabled. This makes the\r\nextra check unnecessary.\r\n\r\n|Entity|Before|After|\r\n|-|-|-|\r\n\r\n|Service|![logs_only_service_before](https://github.com/user-attachments/assets/b92e7801-058d-4dc7-8cc8-eea128f19e4c)|![logs_only_service_after](https://github.com/user-attachments/assets/52eaa3cd-9cb9-427d-b9c2-d87ae6440dac)|\r\n\r\n|Host/Container|![logs_only_host_before](https://github.com/user-attachments/assets/211b2f37-0cba-42e7-bb14-ad3f44fa1a51)|![logs_only_host_after](https://github.com/user-attachments/assets/32cab468-f3d0-49f9-8835-deb016189a14)|\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Cauê Marcondes <[email protected]>","sha":"586330bd0b557640faa3e019201592f67d180aa4"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Irene Blanco <[email protected]>
- Loading branch information