OpenSearch/docs/reference/ml/df-analytics/apis
Dimitris Athanasiou be554fe5f0
[7.x][ML] Improve progress reportings for DF analytics (#45856) (#45910)
Previously, the stats API reports a progress percentage
for DF analytics tasks that are running and are in the
`reindexing` or `analyzing` state.

This means that when the task is `stopped` there is no progress
reported. Thus, one cannot distinguish between a task that never
run to one that completed.

In addition, there are blind spots in the progress reporting.
In particular, we do not account for when data is loaded into the
process. We also do not account for when results are written.

This commit addresses the above issues. It changes progress
to being a list of objects, each one describing the phase
and its progress as a percentage. We currently have 4 phases:
reindexing, loading_data, analyzing, writing_results.

When the task stops, progress is persisted as a document in the
state index. The stats API now reports progress from in-memory
if the task is running, or returns the persisted document
(if there is one).
2019-08-23 23:04:39 +03:00
..
delete-dfanalytics.asciidoc [DOCS] Separates data frame analytics APIs (#44451) 2019-07-16 13:33:23 -07:00
dfanalyticsresources.asciidoc [DOCS] Amends data frame analytics resources, GET, and PUT API docs (#44806) 2019-07-26 11:52:43 +02:00
estimate-memory-usage-dfanalytics.asciidoc [7.x] Add docs for HLRC for Estimate memory usage API (#45538) (#45783) 2019-08-21 14:27:36 +02:00
evaluate-dfanalytics.asciidoc [7.x] Allow the user to specify 'query' in Evaluate Data Frame request (#45775) (#45825) 2019-08-22 11:14:26 +02:00
evaluateresources.asciidoc [DOCS] Moves content to ML anomaly-detection folder (#44520) (#44530) 2019-07-18 08:44:52 -07:00
get-dfanalytics-stats.asciidoc [7.x][ML] Improve progress reportings for DF analytics (#45856) (#45910) 2019-08-23 23:04:39 +03:00
get-dfanalytics.asciidoc [DOCS] Amends data frame analytics resources, GET, and PUT API docs (#44806) 2019-07-26 11:52:43 +02:00
index.asciidoc [7.x] Implement ml/data_frame/analytics/_estimate_memory_usage API endpoint (#45188) (#45510) 2019-08-14 08:26:03 +02:00
put-dfanalytics.asciidoc [DOCS] Amends data frame analytics resources, GET, and PUT API docs (#44806) 2019-07-26 11:52:43 +02:00
start-dfanalytics.asciidoc [DOCS] Separates data frame analytics APIs (#44451) 2019-07-16 13:33:23 -07:00
stop-dfanalytics.asciidoc [DOCS] Separates data frame analytics APIs (#44451) 2019-07-16 13:33:23 -07:00