-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rchiodo/kernel telemetry #10115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rchiodo/kernel telemetry #10115
Changes from all commits
f999ec4
8545aee
8c04a7a
ec0e889
e411a4e
15f2e50
55b75dd
55cd158
bef29b3
a8cae87
89f30c5
b53b6a7
2f2462d
73c206c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Change select kernel telemetry to track duration till quick pick appears. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add telemetry to track notebook languages |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Telemetry around kernels not working and installs not working. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,21 @@ export const JUPYTER_OUTPUT_CHANNEL = 'JUPYTER_OUTPUT_CHANNEL'; | |
| // Python Module to be used when instantiating the Python Daemon. | ||
| export const PythonDaemonModule = 'datascience.jupyter_daemon'; | ||
|
|
||
| // List of 'language' names that we know about. All should be lower case as that's how we compare. | ||
| export const KnownNotebookLanguages: string[] = [ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just wondering where did these values come from. Didn't think that nbformat specified language specific language_info name values. #Resolved
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I looked them up in a bunch of notebooks on github. In reply to: 379122367 [](ancestors = 379122367)
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually some of them are the wrong case though. I should check case insensitive. In reply to: 379122816 [](ancestors = 379122816,379122367) |
||
| 'python', | ||
| 'r', | ||
| 'julia', | ||
| 'c++', | ||
| 'c#', | ||
| 'f#', | ||
| 'scala', | ||
| 'haskell', | ||
| 'bash', | ||
| 'cling', | ||
| 'sas' | ||
| ]; | ||
|
|
||
| export namespace Commands { | ||
| export const RunAllCells = 'python.datascience.runallcells'; | ||
| export const RunAllCellsAbove = 'python.datascience.runallcellsabove'; | ||
|
|
@@ -153,7 +168,7 @@ export enum Telemetry { | |
| CollapseAll = 'DATASCIENCE.COLLAPSE_ALL', | ||
| SelectJupyterURI = 'DATASCIENCE.SELECT_JUPYTER_URI', | ||
| SelectLocalJupyterKernel = 'DATASCIENCE.SELECT_LOCAL_JUPYTER_KERNEL', | ||
| SelectRemoteJupyuterKernel = 'DATASCIENCE.SELECT_REMOTE_JUPYTER_KERNEL', | ||
| SelectRemoteJupyterKernel = 'DATASCIENCE.SELECT_REMOTE_JUPYTER_KERNEL', | ||
| SetJupyterURIToLocal = 'DATASCIENCE.SET_JUPYTER_URI_LOCAL', | ||
| SetJupyterURIToUserSpecified = 'DATASCIENCE.SET_JUPYTER_URI_USER_SPECIFIED', | ||
| Interrupt = 'DATASCIENCE.INTERRUPT', | ||
|
|
@@ -246,6 +261,12 @@ export enum Telemetry { | |
| FindKernelForLocalConnection = 'DS_INTERNAL.FIND_KERNEL_FOR_LOCAL_CONNECTION', | ||
| CompletionTimeFromLS = 'DS_INTERNAL.COMPLETION_TIME_FROM_LS', | ||
| CompletionTimeFromJupyter = 'DS_INTERNAL.COMPLETION_TIME_FROM_JUPYTER', | ||
| NotebookLanguage = 'DATASCIENCE.NOTEBOOK_LANGUAGE', | ||
| KernelSpecNotFound = 'DS_INTERNAL.KERNEL_SPEC_NOT_FOUND', | ||
| KernelRegisterFailed = 'DS_INTERNAL.KERNEL_REGISTER_FAILED', | ||
| KernelEnumeration = 'DS_INTERNAL.KERNEL_ENUMERATION', | ||
| JupyterInstallFailed = 'DS_INTERNAL.JUPYTER_INSTALL_FAILED', | ||
| UserInstalledModule = 'DATASCIENCE.USER_INSTALLED_MODULE', | ||
| JupyterCommandLineNonDefault = 'DS_INTERNAL.JUPYTER_CUSTOM_COMMAND_LINE' | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not relevant in particular to our team. But might be worthwhile just for the extension in general to log telemetry on UserModuleInstallFailed. #WontFix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dan/Savannah can ask for this if they want it I think. Not sure we should add telemetry unless they want it.
In reply to: 379120268 [](ancestors = 379120268)