Measure time between steps in Vercel Workflows
You can now measure the time elapsed between any two steps in the trace viewer using a modifier key to select and hover steps, revealing measurement lines that help identify delays and queue waits. This feature is available in Vercel Observability and the Workflow SDK.
You can now measure the time between any two steps in the trace viewer for and the .Vercel WorkflowsWorkflow SDK
Select a step, hold on macOS or on Windows and Linux, then hover another step to see a measurement line between them:OptionAlt
With no step selected, hold the modifier to see the gaps across the timeline, now drawn with the same measurement line.
This can be useful for spotting delayed starts and queue waits when a run takes longer than its steps account for.
To get started, open a workflow run from the Workflows tab in , or locally with .Vercel Observabilitynpx workflow@beta web
Between sequential steps, the line measures from the end of the earlier step to the start of the later step.
Between overlapping or nested steps, it measures the difference between their start times.
Source: original entry ↗