-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Infrastructure UI] Fix Lens charts for APM hosts #156372
[Infrastructure UI] Fix Lens charts for APM hosts #156372
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: |
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
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 👏
## Summary After the implementation of the new API and host limit, all charts now load only after the table is loaded. This PR changes the filters the page currently passes to Lens, to pass only a list of host names, the same way Alerts and Logs tabs do it. This also fixes a problem where filters remove documents containing metrics data. <img width="772" alt="image" src="https://user-images.githubusercontent.com/2767137/235683301-35709698-49c2-4871-a724-2d2ca662f3f2.png"> <img width="772" alt="image" src="https://user-images.githubusercontent.com/2767137/235683956-f7170213-afbd-400d-a190-a02087831af1.png"> ### How to test - Connect your local kibana to an oblt cluster - Go to Hosts view - Filter by `service.name: "opbeans-java"` (cherry picked from commit e980427)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…56390) # Backport This will backport the following commits from `main` to `8.8`: - [[Infrastructure UI] Fix Lens charts for APM hosts (#156372)](#156372) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Carlos Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-02T13:56:06Z","message":"[Infrastructure UI] Fix Lens charts for APM hosts (#156372)\n\n## Summary\r\n\r\nAfter the implementation of the new API and host limit, all charts now\r\nload only after the table is loaded. This PR changes the filters the\r\npage currently passes to Lens, to pass only a list of host names, the\r\nsame way Alerts and Logs tabs do it.\r\n\r\nThis also fixes a problem where filters remove documents containing\r\nmetrics data.\r\n\r\n\r\n<img width=\"772\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/2767137/235683301-35709698-49c2-4871-a724-2d2ca662f3f2.png\">\r\n\r\n<img width=\"772\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/2767137/235683956-f7170213-afbd-400d-a190-a02087831af1.png\">\r\n\r\n\r\n\r\n\r\n### How to test\r\n\r\n- Connect your local kibana to an oblt cluster\r\n- Go to Hosts view\r\n- Filter by `service.name: \"opbeans-java\"`","sha":"e9804277b20320e37dde3ceaaa6f9ae1b66e3b23","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics UI","Team:Infra Monitoring UI","release_note:skip","backport:prev-minor","Feature:ObsHosts","v8.9.0"],"number":156372,"url":"#156372 UI] Fix Lens charts for APM hosts (#156372)\n\n## Summary\r\n\r\nAfter the implementation of the new API and host limit, all charts now\r\nload only after the table is loaded. This PR changes the filters the\r\npage currently passes to Lens, to pass only a list of host names, the\r\nsame way Alerts and Logs tabs do it.\r\n\r\nThis also fixes a problem where filters remove documents containing\r\nmetrics data.\r\n\r\n\r\n<img width=\"772\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/2767137/235683301-35709698-49c2-4871-a724-2d2ca662f3f2.png\">\r\n\r\n<img width=\"772\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/2767137/235683956-f7170213-afbd-400d-a190-a02087831af1.png\">\r\n\r\n\r\n\r\n\r\n### How to test\r\n\r\n- Connect your local kibana to an oblt cluster\r\n- Go to Hosts view\r\n- Filter by `service.name: \"opbeans-java\"`","sha":"e9804277b20320e37dde3ceaaa6f9ae1b66e3b23"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"#156372 UI] Fix Lens charts for APM hosts (#156372)\n\n## Summary\r\n\r\nAfter the implementation of the new API and host limit, all charts now\r\nload only after the table is loaded. This PR changes the filters the\r\npage currently passes to Lens, to pass only a list of host names, the\r\nsame way Alerts and Logs tabs do it.\r\n\r\nThis also fixes a problem where filters remove documents containing\r\nmetrics data.\r\n\r\n\r\n<img width=\"772\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/2767137/235683301-35709698-49c2-4871-a724-2d2ca662f3f2.png\">\r\n\r\n<img width=\"772\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/2767137/235683956-f7170213-afbd-400d-a190-a02087831af1.png\">\r\n\r\n\r\n\r\n\r\n### How to test\r\n\r\n- Connect your local kibana to an oblt cluster\r\n- Go to Hosts view\r\n- Filter by `service.name: \"opbeans-java\"`","sha":"e9804277b20320e37dde3ceaaa6f9ae1b66e3b23"}}]}] BACKPORT--> Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
closes: #151768
Summary
After the implementation of the new API and host limit, all charts now load only after the table is loaded. This PR changes the filters the page currently passes to Lens, to pass only a list of host names, the same way Alerts and Logs tabs do it.
This also fixes a problem where filters remove documents containing metrics data.
How to test
service.name: "opbeans-java"