metaflow-ui icon indicating copy to clipboard operation
metaflow-ui copied to clipboard

add another breakdown of running jobs, by current-step

Open srulkapara opened this issue 2 years ago • 7 comments

Summary

Adding another column for "current step" of each run, and also allows filters - just like the status of Running/Failed/Completed (only with more options) will be very useful.

Once you submit dozens of jobs which will be running for hours, it is very nice to see where they currently stand (that we've passed something that was recently fixed, for instance), and make sure that the pace makes sense and we can estimate how long it will take.

An alternative solution will be a different page entirely, grouping the current steps of running-jobs only showing some kind of graph. I'll take that as well.

Alternatives: None, except for manually querying s3 relevant paths - or opening lots of tabs. I don't think the aws-UI also has a per-step StepFunctions dashboard either.

The complication i can think of is having lots of steps (but this can be fixed using UI), or higher refresh-rate needed since steps can change more quickly than other fields.

srulkapara avatar Dec 16 '22 09:12 srulkapara

That's a great idea. Today, if you want a bird's eye view of any run's state, you can click on a lever button towards the very right of the row you are on which pops open the timeline view.

Screen Shot 2022-12-16 at 4 45 36 PM

Screen Shot 2022-12-16 at 4 44 05 PM

savingoyal avatar Dec 17 '22 00:12 savingoyal

Are you thinking of something like this on the Run page?

Screen Shot 2023-01-06 at 7 47 14 AM

obgibson avatar Jan 06 '23 14:01 obgibson

and/or this?

Screen Shot 2023-01-06 at 1 39 17 PM

obgibson avatar Jan 06 '23 20:01 obgibson

@srulkapara

obgibson avatar Jan 09 '23 19:01 obgibson

Yes, exactly @obgibson. Something to consider: should this new current-step filter only be relevant while using specific-flows (so only if the flow-filter is activated it can be applicable?) - or maybe have some kind of super-set options out of the entire possible flows? Or should the relevant step-values there be Flow1.step1, Flow1.step2?

srulkapara avatar Jan 09 '23 21:01 srulkapara

What would your use case be for the filter on the home page? If you, as a user, are going to the effort to filter on flows, and then on current step, you may find it easier to just look at the Current Step column. The column will be orderable so you can make the runs with current steps float to the top.

Do we need a filter?

obgibson avatar Jan 09 '23 22:01 obgibson

My case is a surge of hundreds of jobs submitted where i don't want to click on each, to get a big-picture status, but i want some counts and a quick validation that things are going smooth - so using the step-filter (and count through browser-Search, for instance, as a job-count trick) is useful.

Note: for this purpose (counting runs in each step) i don't need the filter, i can also browser-search the name of the step, so i guess it's not a must.

srulkapara avatar Jan 11 '23 17:01 srulkapara