Skip to content

Conversation

@dimitris-athanasiou
Copy link
Contributor

Data frame analytics process currently reports progress as
an integer progress_percent. We parse that and report it
from the _stats API as the progress of the analyzing phase.
However, we want to allow the DFA process to report progress
for more than one phase. This commit prepares for this by
parsing phase_progress from the process, an object that
contains the phase name plus the progress_percent for that
phase.

Backport of #55580

)

Data frame analytics process currently reports progress as
an integer `progress_percent`. We parse that and report it
from the _stats API as the progress of the `analyzing` phase.
However, we want to allow the DFA process to report progress
for more than one phase. This commit prepares for this by
parsing `phase_progress` from the process, an object that
contains the `phase` name plus the `progress_percent` for that
phase.

Backport of elastic#55580
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@dimitris-athanasiou dimitris-athanasiou merged commit 50a5afe into elastic:7.x Apr 22, 2020
@dimitris-athanasiou dimitris-athanasiou deleted the parse-phase-progress-from-analytics-process-7x branch April 22, 2020 13:38
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.

2 participants