-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values #193255
[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values #193255
Conversation
Pinging @elastic/ml-ui (:ml) |
...gins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/server/models/results_service/get_partition_fields_values.ts
Outdated
Show resolved
Hide resolved
...gins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx
Show resolved
Hide resolved
Created #193885 to cover #193255 (comment). |
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.
Tested latest changes and LGTM
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.
…partition-field-value
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 🚀 Left some minor suggestions
...gins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx
Outdated
Show resolved
Hide resolved
...gins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx
Show resolved
Hide resolved
x-pack/plugins/ml/server/models/results_service/get_partition_fields_values.ts
Outdated
Show resolved
Hide resolved
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @rbrtj |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11069036354 |
…d 'partition' field values (elastic#193255) ## Summary Enables cross-filtering for 'by', 'over' and 'partition' field values in the Single Metric Viewer. Fixes [elastic#171932](elastic#171932) Before: https://github.com/user-attachments/assets/9a279375-7d0b-4422-b9eb-644ae3c0d291 After: https://github.com/user-attachments/assets/d86d0688-dc69-43f0-aa24-130ff38935e6 (cherry picked from commit 07290bf)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#x27;, 'over' and 'partition' field values (#193255) (#194280) # Backport This will backport the following commits from `main` to `8.x`: - [[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values (#193255)](#193255) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Robert Jaszczurek","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-27T10:30:53Z","message":"[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values (#193255)\n\n## Summary\r\n\r\nEnables cross-filtering for 'by', 'over' and 'partition' field values in\r\nthe Single Metric Viewer.\r\n\r\nFixes [#171932](https://github.com/elastic/kibana/issues/171932)\r\n\r\nBefore:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9a279375-7d0b-4422-b9eb-644ae3c0d291\r\n\r\nAfter:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d86d0688-dc69-43f0-aa24-130ff38935e6","sha":"07290bfac955c7d62ba93b52d888499dd6006cf3","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement",":ml","Feature:Anomaly Detection","v9.0.0","Team:ML","backport:prev-minor","v8.16.0"],"title":"[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values","number":193255,"url":"https://github.com/elastic/kibana/pull/193255","mergeCommit":{"message":"[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values (#193255)\n\n## Summary\r\n\r\nEnables cross-filtering for 'by', 'over' and 'partition' field values in\r\nthe Single Metric Viewer.\r\n\r\nFixes [#171932](https://github.com/elastic/kibana/issues/171932)\r\n\r\nBefore:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9a279375-7d0b-4422-b9eb-644ae3c0d291\r\n\r\nAfter:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d86d0688-dc69-43f0-aa24-130ff38935e6","sha":"07290bfac955c7d62ba93b52d888499dd6006cf3"}},"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/193255","number":193255,"mergeCommit":{"message":"[ML] Single Metric Viewer: Enable cross-filtering for 'by', 'over' and 'partition' field values (#193255)\n\n## Summary\r\n\r\nEnables cross-filtering for 'by', 'over' and 'partition' field values in\r\nthe Single Metric Viewer.\r\n\r\nFixes [#171932](https://github.com/elastic/kibana/issues/171932)\r\n\r\nBefore:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9a279375-7d0b-4422-b9eb-644ae3c0d291\r\n\r\nAfter:\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d86d0688-dc69-43f0-aa24-130ff38935e6","sha":"07290bfac955c7d62ba93b52d888499dd6006cf3"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Robert Jaszczurek <[email protected]>
Summary
Enables cross-filtering for 'by', 'over' and 'partition' field values in the Single Metric Viewer.
Fixes #171932
Before:
Screen.Recording.2024-09-18.at.11.29.48.mov
After:
Screen.Recording.2024-09-27.at.10.59.38.mov