Skip to content

REPL Telemetry for Terminal REPL and Native REPL - #23941

Merged
Anthony Kim (anthonykim1) merged 4 commits into
microsoft:mainfrom
anthonykim1:replTelemetry
Aug 13, 2024
Merged

Anthony Kim (anthonykim1) merged 4 commits into
microsoft:mainfrom
anthonykim1:replTelemetry

Conversation

@anthonykim1

@anthonykim1 Anthony Kim (anthonykim1) commented Aug 12, 2024 •

Copy link
Copy Markdown

Resolves: #23740

Also organize Telemetry for Terminal REPL vs. Native REPL.
Now we can sort them out with new attribute 'replType' on the REPL Event.

With this PR:

  • (EventName.REPL, { replType: 'Terminal' }) for when people launch Terminal REPL via Command Palette, Manually type Python in terminal (tried to account for all Python cases that will trigger REPL).
  • (EventName.REPL, { replType: 'Native' }) for when people launch Native REPL via Command Palette.

@anthonykim1 Anthony Kim (anthonykim1) added this to the August 2024 milestone Aug 12, 2024
@anthonykim1 Anthony Kim (anthonykim1) added area-repl area-terminal feature-request Request for new features or functionality labels Aug 12, 2024
@anthonykim1 Anthony Kim (anthonykim1) added the skip tests Updates to tests unnecessary label Aug 12, 2024
@anthonykim1
Anthony Kim (anthonykim1) marked this pull request as ready for review August 12, 2024 22:52
TylerLeonhardt
TylerLeonhardt previously approved these changes Aug 12, 2024
Comment thread src/client/terminals/codeExecution/terminalReplWatcher.ts Outdated
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Comment thread src/client/terminals/codeExecution/terminalReplWatcher.ts Outdated
@anthonykim1
Anthony Kim (anthonykim1) merged commit c13bb07 into microsoft:main Aug 13, 2024
Anthony Kim (anthonykim1) added a commit that referenced this pull request Aug 13, 2024
Related to #23740
In addition to : #23941 

Fire telemetry for when REPL is launched via shift+enter. 
/cc @cwebster-99
Anthony Kim (anthonykim1) added a commit that referenced this pull request Aug 16, 2024
#23941 
Having no blank spaces in front of plain 'python' or 'python3' were
returning falsey value.
Anthony Kim (anthonykim1) added a commit to anthonykim1/vscode-python that referenced this pull request Sep 13, 2024
microsoft#23941 
Having no blank spaces in front of plain 'python' or 'python3' were
returning falsey value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-repl area-terminal feature-request Request for new features or functionality skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add telemetry when python terminal REPL is used

3 participants