https://prefect.io logo
c

Caroline Kery

07/13/2023, 6:43 PM
Hello everyone! I'm new to this community, so I may be missing an existing post, but we just upgraded to prefect 2 from prefect 0 (skipped right over prefect 1) and we're really struggling with the UI. When it's just a few tasks, it looks great, but when you have even a couple hundred tasks due to mapped tasks it becomes impossible to see what has passed and what has failed because it zooms out to invisibility. I'm wondering if this is a setting? The old prefect UI just had one line per overall task (instead of one line per mapped task), so we could at least see which tasks to drill down into.
1
b

Brandon Reid

07/13/2023, 6:49 PM
Sorry to see this is not super helpful for you here! We have on the roadmap a couple items to tackle with that visualization that will help a lot. One is the ability to resize the x-axis independently so if it does stretch out like that you'll be able to zoom the nodes to a shorter width and take more advantage of height. Another is to have a non-temporal layout option. The need for these has come up a fair number of times here in different circumstances, so you're definitely not alone and we've got our eyes on it.
c

Caroline Kery

07/13/2023, 6:59 PM
Ok, that's fair. I understand the "we haven't gotten to it yet" answer, as someone who's had to give it plenty of times. Just to be clear, I think the big issue for us is the way it tries to make a line for each mapped task. When you have a mapped task with a couple thousand tasks, it kind of balloons out into this massive thing, which gets harder to read the longer the tasks run on. We've been relying on our logs to figure out what's finished and what's failed. The UI also just kind of crashed when we had about 4,000 tasks, but I'm hoping that's an us problem and not a normal prefect 2 thing.
b

Brandon Reid

07/13/2023, 8:33 PM
Ahh, gotchya. So you're imagining the mapped task would collapse into one node?