Skip to content

Add telemetry for xterm imageAddon#299017

Draft
anthonykim1 wants to merge 2 commits intomainfrom
anthonykim1/imageAddonTelemetry
Draft

Add telemetry for xterm imageAddon#299017
anthonykim1 wants to merge 2 commits intomainfrom
anthonykim1/imageAddonTelemetry

Conversation

@anthonykim1
Copy link
Contributor

@anthonykim1 anthonykim1 commented Mar 3, 2026

Part of: #299058
I wanted to get a better sense of image usage

Upcoming xtermjs/xterm.js#5733 to get a sense of individual image count too.

@anthonykim1 anthonykim1 added this to the 1.111.0 milestone Mar 3, 2026
@anthonykim1 anthonykim1 self-assigned this Mar 3, 2026
Copilot AI review requested due to automatic review settings March 3, 2026 18:02
@anthonykim1 anthonykim1 requested a review from meganrogge March 3, 2026 18:03
@anthonykim1 anthonykim1 marked this pull request as ready for review March 3, 2026 18:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new telemetry datapoint to the existing terminal/createInstance event to understand whether the xterm.js image addon is actually loaded for a terminal instance.

Changes:

  • Expose XtermTerminal.isImageAddonLoaded based on whether the image addon has been instantiated.
  • Log a new boolean field imageAddonLoaded in terminal/createInstance telemetry with proper classification metadata.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts Adds an isImageAddonLoaded getter to expose whether the xterm image addon is present.
src/vs/workbench/contrib/terminal/browser/terminalTelemetry.ts Extends terminal/createInstance telemetry to include imageAddonLoaded with classification metadata and logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants