You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(console): add task scheduled times histogram (#409)
Display the scheduled time percentiles and sparklines for the histogram
of scheduled times. The schduled time is the time between when a task is
woken and when it is next polled.
The scheduled time, which was already calculated, is now stored in a
histogram and sent over the wire in together with the task details.
This is used to draw percentiles and sparklines on the task details
view, in the same way that is done for the poll times histogram.
The refactoring done in #408 has been used to more easily display two
sets of durations (percentiles and histogram where possible).
## PR Notes
The PR depends on both #406, which adds initial support for recording the
scheduled (wake-to-poll) time, and #408, which refactors the percentile and
histogram widgets to make them easier to reuse.
It shouldn't really be reviewed in depth until those two have been merged as
it contains a lot of duplication and will need to be rebased.
Here are some examples of the scheduled times durations on the task detail view:
<img width="1037" alt="task detail view for the sender task in the long-scheduled example" src="https://user-images.githubusercontent.com/89589/232608774-d8ac48a7-3fe7-4742-a75b-e11bdb23abaa.png">
<img width="1043" alt="task detail view for the burn task in the app example" src="https://user-images.githubusercontent.com/89589/232608864-637f4f52-d4a6-468d-88fc-8fe1d53fdff9.png">
0 commit comments