-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[ML] Fixes anomaly detection jobs list load if call to load job messages fails #79792
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] Fixes anomaly detection jobs list load if call to load job messages fails #79792
Conversation
...ck/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx
Outdated
Show resolved
Hide resolved
|
Pinging @elastic/ml-ui (:ml) |
peteharverson
left a 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 and left a suggestion for a change to the toast title.
Also if possible can we show the same sort of error toast for the data frame analytics jobs list? The list is displaying ok if that index mapping is incorrect, but the error is only shown in the browser console. Would be nice to show that same error toast for the DFA page too. Note that job details section is also shown in the DFA results page.
...ck/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx
Outdated
Show resolved
Hide resolved
peteharverson
left a 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 edit and LGTM
darnautov
left a 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.
LGTM
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]async chunks size
History
To update your PR or re-run it, just comment with: |
…ges fails (elastic#79792) Co-authored-by: Kibana Machine <[email protected]>
…ges fails (elastic#79792) Co-authored-by: Kibana Machine <[email protected]>
…b messages fails (#79792) (#80021) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
…ges fails (#79792) (#80020) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Summary
This PR fixes #77350. The wrong index mapping causes
getAuditMessagesSummaryto fail, which causejobsSummaryto throw an error. This PR makes it so that:Job Messagetab will bubble up a more explicit error message in the UIBefore
After
Checklist
Delete any items that are not applicable to this PR.