Title: Telemetry: instrument workspace and diagnostic command workflows · Issue #986 · coder/vscode-coder · GitHub
Open Graph Title: Telemetry: instrument workspace and diagnostic command workflows · Issue #986 · coder/vscode-coder
X Title: Telemetry: instrument workspace and diagnostic command workflows · Issue #986 · coder/vscode-coder
Description: Follow-up from the local telemetry audit of #953 / #903. Scope Main already has broad command.invoked coverage for user commands plus workspace/agent state transition telemetry. Keep this issue focused on workflows where commands return ...
Open Graph Description: Follow-up from the local telemetry audit of #953 / #903. Scope Main already has broad command.invoked coverage for user commands plus workspace/agent state transition telemetry. Keep this issue foc...
X Description: Follow-up from the local telemetry audit of #953 / #903. Scope Main already has broad command.invoked coverage for user commands plus workspace/agent state transition telemetry. Keep this issue foc...
Opengraph URL: https://github.com/coder/vscode-coder/issues/986
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Telemetry: instrument workspace and diagnostic command workflows","articleBody":"Follow-up from the local telemetry audit of coder/vscode-coder#953 / coder/vscode-coder#903.\n\n## Scope\n\nMain already has broad `command.invoked` coverage for user commands plus workspace/agent state transition telemetry. Keep this issue focused on workflows where commands return normally on cancellation/failure or where user decisions are invisible.\n\nAdd a small number of traces/events for:\n\n* workspace picker summary: opened, final result count, selected/cancelled/failed outcome, selected workspace state/agent counts, and duration\n* workspace open handoff: one `workspace.open` trace covering `open` and `openFromSidebar`, with source, workspace/agent state buckets, selected/cancelled/failed result, and duration\n* devcontainer open handoff: one `workspace.devcontainer.open` trace with mode/category, result, bounded failure category, and duration\n* start/update prompt decisions: trace prompt shown and final accepted/dismissed/cancelled result; keep this compact and attach to existing start/update operation telemetry where practical\n* diagnostic command outcomes for `speedTest`, `supportBundle`, and `coder.exportTelemetry`, using one trace per command with success/failure/cancelled result and bounded summary measurements\n\nThis continues to exclude Tasks panel instrumentation because the Tasks panel is being deprecated.\n\n## Avoid duplicating\n\n* `command.invoked` already records command ID, duration, and thrown errors for all `coder.*` commands.\n* `workspace.state_transitioned` and `workspace.agent.state_transitioned` already record workspace/agent state changes.\n* `workspace.start.triggered`, `workspace.update.prompted`, and `workspace.update.triggered` already cover parts of remote start/update.\n* Do not emit a search event for every picker keystroke; if search telemetry is needed, emit one final/debounced summary only.\n* Do not add `workspace.ping.succeeded`; `pingWorkspace` launches a terminal command and does not wait for ping completion. Use `workspace.ping.launched` only if needed.\n\n## Privacy\n\nDo not log raw workspace names, search queries, local paths, export paths, or devcontainer paths unless a separate privacy/export decision explicitly allows it. Use counts, source/category enums, state buckets, and durations.\n\n## Acceptance criteria\n\n* User cancellation vs failure vs success is distinguishable for workspace picker/open/devcontainer flows where `command.invoked` is insufficient.\n* Diagnostic command outcomes are visible without recording output paths or raw command output.\n* Workspace start/update prompt decisions are visible without duplicating existing start/update traces.\n* Picker telemetry is low-volume and privacy-safe.\n* Tasks panel instrumentation is not included.\n* Tests cover representative success, cancellation, and failure paths.\n\n---\n\nGenerated by Coder Agent from the telemetry audit of coder/vscode-coder#953. Updated after reviewing existing telemetry on main.\n","author":{"url":"https://github.com/EhabY","@type":"Person","name":"EhabY"},"datePublished":"2026-05-31T15:21:15Z","url":"https://github.com/coder/vscode-coder/issues/986"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d3d29ce1-be3e-365c-be22-7fbd9ff63500 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA4C:C8E4A:2EDB64:429EC8:6B0455D5 |
| html-safe-nonce | ef7b7adfdc7032bdd53b14cc9b5bc928c1f7b220eb5e7f16c6f0d0e5f7bd459d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTRDOkM4RTRBOjJFREI2NDo0MjlFQzg6NkIwNDU1RDUiLCJ2aXNpdG9yX2lkIjoiMjk0OTQwMzc0OTYxNTE2MjgzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 77c44a3e1d3dd0f462e12003c177992a0a20ee118dc00d0198a927611378ae95 |
| hovercard-subject-tag | issue:4558017678 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/vscode-coder/986/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa374719822e266d826548ac3088b9c572f4d6771e8c198c4e5f581912a761f2/coder/vscode-coder/issues/986 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa374719822e266d826548ac3088b9c572f4d6771e8c198c4e5f581912a761f2/coder/vscode-coder/issues/986 |
| og:image:alt | Follow-up from the local telemetry audit of #953 / #903. Scope Main already has broad command.invoked coverage for user commands plus workspace/agent state transition telemetry. Keep this issue foc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EhabY |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/vscode-coder git https://github.com/coder/vscode-coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 582550891 |
| octolytics-dimension-repository_nwo | coder/vscode-coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 582550891 |
| octolytics-dimension-repository_network_root_nwo | coder/vscode-coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width