Has the UI team looked into a calendar view for th...
# prefect-ui
d
Has the UI team looked into a calendar view for the Deployments page? It would be a big help to see when & what deployments are run throughout the day/week/month. Bonus points if you could estimate duration by historical averages. Infrastructure and API overload crashes have popped up a few times and I have been relegated to an external calendar to better schedule new deployments
🙏 3
b
Nice, thanks @Dominic Tarro. I've been wondering how common this use case is as we've been taking a look at some scheduling visualizations. Do you think something like this would do the trick? Each bar is a deployment, sized by average duration, distributed across time intervals by their scheduled cadence.
👀 1
Work pool filters, etc. could be involved as well. There could be scales where a line chart would be more ideal, if a workspace had a thousand deployments running or something.
d
Yeah, this looks like a really good start. A y-axis with the hours of the day would be a big help for the weekly view. The filters would be fantastic, perhaps even color code the interval bars by a selected category.
b
Nice. I feel like that would be more helpful in trying to visualize something like "infrastructure load", than maybe a full on google calendar type UI (which is also pretty gnarly to build and has scale challenges)
If you had a sort of predictive one on the deployments page, then a historical one on a work pools page?
d
Yeah, my use case wouldn't demand anything too sophisticated. I take it the historical one would be focused on what actually ran? I don't see how that's too much different from what we can do with the Flow Runs timeline. My primary justification behind the deployments calendar is to view what and when deployments are scheduled to run, making it easier to slot in new deployments. This isn't easily attainable with the Flow Run timeline.
b
Awesome, thanks for clarifying that. 🙌
👍 1
d
https://prefect-community.slack.com/archives/C0192RWGJQH/p1697539844917449?thread_ts=1697490575.905909&cid=C0192RWGJQH Can we do something about the resolution? Day is just not fine enough for our usecase 😄 @Brandon Reid
b
Good call out @Deceivious, appreciate that!