Skip to content

Commit a343419

Browse files
committed
added workspace startup times
1 parent e9fbfcc commit a343419

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/admin/templates/troubleshooting.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,17 @@ the top of the script to exit on error.
154154

155155
> **Note:** If you aren't seeing any logs, check that the `dir` directive points
156156
> to a valid directory in the file system.
157+
158+
## Slow workspace startup times
159+
160+
If your workspaces are taking longer to start than expected, or longer than
161+
desired, you can diagnose which steps have the highest impact in the workspace
162+
build timings UI.
163+
164+
![Workspace build timings UI](../../images/admin/templates/troubleshooting/workspace-build-timings-ui.png)
165+
166+
Additionally, you can programmatically pull startup time measurements using our
167+
[build timings API endpoint](../../reference/api/builds#get-workspace-build-timings-by-id).
168+
169+
See our guide on optimizing templates to reduce startup times to take action on
170+
this data.

0 commit comments

Comments
 (0)