kibana/x-pack/plugins/ml/server
Walter Rafelsberger 46f7a350fe
[ML] Adds missing error handling to annotations request. (#32384)
- This adds more thorough error handling to retrieving annotations from the server to avoid breaking Anomaly Explorer when there's a problem retrieving annotations. The UI will silently fail and hide the annotations table if for whatever reasons annotations cannot be retrieved for the selected jobs (this could be permissions or setup related if e.g. the annotations feature index/aliases are not present). This is now the same behavior like in Single Metric Viewer. The browser console will still output an error message. This fixes an error scenario where Anomaly Explorer would fail to load if a user upgraded to 6.6 because the backend task wasn't run yet to create the annotation index/aliases.
- Disables annotations feature in Single Metric Viewer if annotations fail to load.
- Use componentDidUpdate and an update check instead of deprecated componentWillUpdate for updating the annotations table in jobs management.
2019-03-05 17:04:47 +01:00
..
client Introduce Elasticsearch service. (#28344) 2019-02-28 17:22:07 +02:00
lib [ML] Fixes annotations integrity check. (#30102) 2019-02-05 19:45:14 +01:00
models [ML] Adds missing error handling to annotations request. (#32384) 2019-03-05 17:04:47 +01:00
routes [ML] Fixing error when checking privileges for user with no ml_user role (#31429) 2019-02-18 18:37:14 +00:00