Skip to content
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

[6.x] [ML] Fix Anomaly Table update trigger (#18769) #18774

Merged
merged 1 commit into from
May 4, 2018

Conversation

walterra
Copy link
Contributor

@walterra walterra commented May 3, 2018

Backports the following commits to 6.x:

Fixes an issue with the anomaly table not correctly updating in the anomaly explorer and the anomaly markers not showing up in the time series viewer.
- moves the initialization of scope.anomalyRecords = []; to the controllers of anomaly explorer and time series viewer. having it in the anomaly table directive caused a race condition to overwrite already fetched records.
- use $watchCollection instead of $watch to track anomalyRecords and focusChartData changes.
replaces $timeouts with scope.$evalAsync
- fixes how focusChartData gets updated correctly to fix missing anomaly markers in the time series viewer.
@walterra walterra self-assigned this May 3, 2018
@walterra walterra added :ml Feature:ml-results legacy - do not use labels May 3, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

@elasticmachine
Copy link
Contributor

💔 Build Failed

@walterra
Copy link
Contributor Author

walterra commented May 3, 2018

jenkins test this

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@walterra walterra merged commit a77e2bf into elastic:6.x May 4, 2018
@walterra walterra deleted the backport/6.x/pr-18769 branch May 8, 2018 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants