-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Data frames: Updated progress reporting. (#39920)
- Adds a column mode to the data frame transforms list to indicate if the transform is batch or continuous. - For continuous data frames an animated horizontal loading indicator is shown in the Progress column instead of a progress bar with percentage. - In expanded rows, for Job details the section checkpointing was added. - In the transform wizard's creation step, for continuous transforms the progress bar is not shown. In a follow up we could add more useful stats there, like what's shown in the transform list's job details.
- Loading branch information
Showing
11 changed files
with
159 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 43 additions & 1 deletion
44
...ata_frame/pages/job_management/components/job_list/__mocks__/data_frame_job_list_row.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,43 @@ | ||
{"config":{"id":"fq_date_histogram_1m_1441","source":{"index":["farequote-2019"],"query":{"match_all":{}}},"dest":{"index":"fq_data_histogram_1m_1441"},"pivot":{"group_by":{"date_histogram(@timestamp)":{"date_histogram":{"field":"@timestamp","interval":"1m"}}},"aggregations":{"avg(response)":{"avg":{"field":"responsetime"}}}}},"id":"fq_date_histogram_1m_1441","state":{"task_state":"stopped","indexer_state":"stopped","current_position":{"date_histogram(@timestamp)":1549929540000},"checkpoint":1},"stats":{"pages_processed":0,"documents_processed":0,"documents_indexed":0,"trigger_count":0,"index_time_in_ms":0,"index_total":0,"index_failures":0,"search_time_in_ms":0,"search_total":0,"search_failures":0}} | ||
{ | ||
"config": { | ||
"id": "fq_date_histogram_1m_1441", | ||
"source": { "index": ["farequote-2019"], "query": { "match_all": {} } }, | ||
"dest": { "index": "fq_data_histogram_1m_1441" }, | ||
"pivot": { | ||
"group_by": { | ||
"date_histogram(@timestamp)": { | ||
"date_histogram": { "field": "@timestamp", "interval": "1m" } | ||
} | ||
}, | ||
"aggregations": { "avg(response)": { "avg": { "field": "responsetime" } } } | ||
} | ||
}, | ||
"id": "fq_date_histogram_1m_1441", | ||
"state": { | ||
"task_state": "stopped", | ||
"indexer_state": "stopped", | ||
"current_position": { "date_histogram(@timestamp)": 1549929540000 }, | ||
"checkpoint": 1 | ||
}, | ||
"stats": { | ||
"pages_processed": 0, | ||
"documents_processed": 0, | ||
"documents_indexed": 0, | ||
"trigger_count": 0, | ||
"index_time_in_ms": 0, | ||
"index_total": 0, | ||
"index_failures": 0, | ||
"search_time_in_ms": 0, | ||
"search_total": 0, | ||
"search_failures": 0 | ||
}, | ||
"checkpointing": { | ||
"current": { | ||
"timestamp": "2019-06-28T16:09:23.539Z", | ||
"timestamp_millis": 1561738163539, | ||
"time_upper_bound": "2019-06-28T16:09:13.539Z", | ||
"time_upper_bound_millis": 1561738153539 | ||
}, | ||
"operations_behind": 0 | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...a_frame/pages/job_management/components/job_list/__snapshots__/expanded_row.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 1 addition & 6 deletions
7
...ame/pages/job_management/components/job_list/__snapshots__/job_details_pane.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters