mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat(site): add agent connection timings (#15276)
Local preview: <img width="1260" alt="Screenshot 2024-10-29 at 16 16 01" src="https://github.com/user-attachments/assets/10fdb20d-1f2a-4b0a-a8a1-171050ee620d"> Close https://github.com/coder/internal/issues/116 --------- Co-authored-by: Danny Kopping <danny@coder.com>
This commit is contained in:
Generated
+14
-3
@@ -1641,14 +1641,25 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/timings \
|
||||
|
||||
```json
|
||||
{
|
||||
"agent_connection_timings": [
|
||||
{
|
||||
"ended_at": "2019-08-24T14:15:22Z",
|
||||
"stage": "init",
|
||||
"started_at": "2019-08-24T14:15:22Z",
|
||||
"workspace_agent_id": "string",
|
||||
"workspace_agent_name": "string"
|
||||
}
|
||||
],
|
||||
"agent_script_timings": [
|
||||
{
|
||||
"display_name": "string",
|
||||
"ended_at": "2019-08-24T14:15:22Z",
|
||||
"exit_code": 0,
|
||||
"stage": "string",
|
||||
"stage": "init",
|
||||
"started_at": "2019-08-24T14:15:22Z",
|
||||
"status": "string"
|
||||
"status": "string",
|
||||
"workspace_agent_id": "string",
|
||||
"workspace_agent_name": "string"
|
||||
}
|
||||
],
|
||||
"provisioner_timings": [
|
||||
@@ -1658,7 +1669,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/timings \
|
||||
"job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
|
||||
"resource": "string",
|
||||
"source": "string",
|
||||
"stage": "string",
|
||||
"stage": "init",
|
||||
"started_at": "2019-08-24T14:15:22Z"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user