Record Preparing Step Timings in UI
Currently the Preparing step where Spacelift is downloading the repo & initializing the docker container is only exposed while it is happening, those timings do not appear to then be recorded in the UI. We’d like to track these timings to understand how long we’re waiting on those steps.
- Workaround
- Not really/manual.
- Problem
- Track
Log in to comment and vote
Comments3
Jonah Kowall
Jul 12
Thanks for the suggestion. Surfacing per-phase timing is a fair ask, and run timing is on our radar as part of broader native metrics and observability improvements rather than as a standalone UI change. As Natalia noted below, preparing-phase timings are already available today through the Datadog integration (spacelift.integration.run.timing with state:preparing). Since this specific request hasn’t gathered demand, I’m closing it, but the underlying need is captured in that observability work.
Natalia Gazda
Aug 7, 2025
@Geoff Webster Thanks for the feedback.
I understand you'd like to track the duration of the Preparing step after it completes. This timing data is already being captured and is available through our Datadog integration, which tracks all run phase durations including the preparing phase. You can create dashboards and alerts to monitor these timings across your stacks using the
spacelift.integration.run.timingmetric withstate:preparing.For immediate visibility without external integrations, the timings are shown in real-time during the run. If you need historical analysis of preparation times, I'd recommend setting up the Datadog integration which provides comprehensive metrics retention and analysis capabilities.
Is there a specific performance issue you're trying to diagnose? Understanding your use case better would help us recommend the most effective approach with our existing tooling.
Fuchsia Backpack
Apr 23
Yes, with a monorepo the prepare step was taking 4-6 minutes per run. Overall spacelift latency is bad enough our engineers actively complain about Terraform and Spacelift.