-
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
[ML] AIOps: Fixes Data View runtime fields support in Change point detection UI #168249
[ML] AIOps: Fixes Data View runtime fields support in Change point detection UI #168249
Conversation
Pinging @elastic/ml-ui (:ml) |
x-pack/plugins/aiops/public/components/change_point_detection/use_change_point_agg_request.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.
Tested and fixed in the change point detection page in AIOps Labs.
Is the runtime mapping config passed along in the embeddable? When I tried adding the change point detection charts to a dashboard, I see the 'No change points found' message inside Dashboard.
@elasticmachine merge upstream |
@peteharverson fixed by f889cc7 |
Code LGTM 🎉 |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @darnautov |
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 for attaching to a dashboard or case and LGTM
…ction UI (elastic#168249) ## Summary Fixes [elastic#162212](elastic#168212) If a Data View runtime field is used as a metric or split field, appends a `runtime_mappings` to the search request. ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 9f06e30)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…nt detection UI (#168249) (#168491) # Backport This will backport the following commits from `main` to `8.11`: - [[ML] AIOps: Fix Data View runtime fields support in Change point detection UI (#168249)](#168249) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-10-10T14:55:03Z","message":"[ML] AIOps: Fix Data View runtime fields support in Change point detection UI (#168249)\n\n## Summary\r\n\r\nFixes [#162212](https://github.com/elastic/kibana/issues/168212)\r\n\r\nIf a Data View runtime field is used as a metric or split field, appends\r\na `runtime_mappings` to the search request.\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"9f06e30a4e9addf1db6a3e78a11103d644e37995","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Team:ML","Feature:ML/AIOps","v8.11.0","v8.12.0"],"number":168249,"url":"https://github.com/elastic/kibana/pull/168249","mergeCommit":{"message":"[ML] AIOps: Fix Data View runtime fields support in Change point detection UI (#168249)\n\n## Summary\r\n\r\nFixes [#162212](https://github.com/elastic/kibana/issues/168212)\r\n\r\nIf a Data View runtime field is used as a metric or split field, appends\r\na `runtime_mappings` to the search request.\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"9f06e30a4e9addf1db6a3e78a11103d644e37995"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168249","number":168249,"mergeCommit":{"message":"[ML] AIOps: Fix Data View runtime fields support in Change point detection UI (#168249)\n\n## Summary\r\n\r\nFixes [#162212](https://github.com/elastic/kibana/issues/168212)\r\n\r\nIf a Data View runtime field is used as a metric or split field, appends\r\na `runtime_mappings` to the search request.\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"9f06e30a4e9addf1db6a3e78a11103d644e37995"}}]}] BACKPORT--> Co-authored-by: Dima Arnautov <[email protected]>
…ction UI (elastic#168249) ## Summary Fixes [elastic#162212](elastic#168212) If a Data View runtime field is used as a metric or split field, appends a `runtime_mappings` to the search request. ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Summary
Fixes #162212
If a Data View runtime field is used as a metric or split field, appends a
runtime_mappings
to the search request.Checklist