Skip to content

Commit

Permalink
Update telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
rchiodo committed Jun 8, 2022
1 parent fb46be0 commit b7721b3
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions TELEMETRY.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ No description provided
sendTelemetryEvent(Telemetry.ClickedExportNotebookAsQuickPick, undefined, {
format: ExportFormat.python
});
void this.commandManager.executeCommand(Commands.ExportAsPythonScript, sourceDocument, interpreter);
this.commandManager
```


Expand All @@ -77,7 +77,7 @@ No description provided
sendTelemetryEvent(Telemetry.ClickedExportNotebookAsQuickPick, undefined, {
format: ExportFormat.html
});
void this.commandManager.executeCommand(
this.commandManager
```


Expand All @@ -89,7 +89,7 @@ No description provided
sendTelemetryEvent(Telemetry.ClickedExportNotebookAsQuickPick, undefined, {
format: ExportFormat.pdf
});
void this.commandManager.executeCommand(
this.commandManager
```

</details>
Expand Down Expand Up @@ -535,7 +535,7 @@ No description provided
[src/kernels/debugger/kernelDebugAdapterBase.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/debugger/kernelDebugAdapterBase.ts)
```typescript
this.kernel.onDisposed(() => {
void debug.stopDebugging(this.session);
debug.stopDebugging(this.session).then(noop, noop);
this.endSession.fire(this.session);
sendTelemetryEvent(DebuggingTelemetry.endedSession, undefined, { reason: 'onKernelDisposed' });
})
Expand Down Expand Up @@ -1225,7 +1225,7 @@ No properties for event
} catch (e) {
traceError(e);
sendTelemetryEvent(Telemetry.FailedShowDataViewer);
void this.appShell.showErrorMessage(localize.DataScience.showDataViewerFail());
this.appShell.showErrorMessage(localize.DataScience.showDataViewerFail()).then(noop, noop);
}
}
```
Expand Down Expand Up @@ -1608,9 +1608,9 @@ No description provided

[src/platform/api/apiAccessService.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/platform/api/apiAccessService.ts)
```typescript
extensionPermissions.push({ allowed: allow ? 'yes' : 'no', extensionId: info.extensionId });
return this.globalState.update(API_ACCESS_GLOBAL_KEY, extensionPermissions);
});
return this.globalState.update(API_ACCESS_GLOBAL_KEY, extensionPermissions);
})
.then(noop, noop);
sendTelemetryEvent(Telemetry.JupyterKernelApiAccess, undefined, {
extensionId: info.extensionId,
allowed: allow ? 'yes' : 'no'
Expand Down Expand Up @@ -1739,7 +1739,7 @@ No properties for event
```typescript
.map((item) => item.connection)
.filter((item) => !selectedItems.has(item));
void this.kernelFilter.storeHiddenKernels(hiddenConnections.map((item) => item));
this.kernelFilter.storeHiddenKernels(hiddenConnections.map((item) => item)).then(noop, noop);
sendTelemetryEvent(Telemetry.JupyterKernelFilterUsed);
},
this,
Expand Down Expand Up @@ -2964,61 +2964,61 @@ No description provided

[src/kernels/variables/pythonVariableRequester.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/variables/pythonVariableRequester.ts)
```typescript
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getDataFrameInfo',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
)
: [];
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getDataFrameInfo',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
);

```


[src/kernels/variables/pythonVariableRequester.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/variables/pythonVariableRequester.ts)
```typescript
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getDataFrameRows',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
)
: [];
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getDataFrameRows',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
);

```


[src/kernels/variables/pythonVariableRequester.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/variables/pythonVariableRequester.ts)
```typescript
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getVariableProperties',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
)
: [];
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getVariableProperties',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
);
result = { ...result, ...this.deserializeJupyterResult(attributes) };
```


[src/kernels/variables/pythonVariableRequester.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/variables/pythonVariableRequester.ts)
```typescript
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getVariableNamesAndTypesFromKernel',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
)
: [];
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getVariableNamesAndTypesFromKernel',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
);

```


[src/kernels/variables/pythonVariableRequester.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/variables/pythonVariableRequester.ts)
```typescript
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getFullVariable',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
)
: [];
{
traceErrors: true,
traceErrorsMessage: 'Failure in execute_request for getFullVariable',
telemetryName: Telemetry.PythonVariableFetchingCodeFailure
}
);

```

</details>
Expand Down Expand Up @@ -3851,7 +3851,7 @@ No properties for event

[src/interactive-window/editor-integration/codewatcher.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/interactive-window/editor-integration/codewatcher.ts)
```typescript
});
.then(noop, noop);
}

@captureTelemetry(Telemetry.SelectCell)
Expand Down Expand Up @@ -4154,13 +4154,13 @@ No properties for event

[src/platform/errors/errorHandler.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/platform/errors/errorHandler.ts)
```typescript
ConfigurationTarget.Workspace
);
)
.catch(noop);
} else if (value === closeOption) {
sendTelemetryEvent(Telemetry.SelfCertsMessageClose);
}
});
return KernelInterpreterDependencyResponse.failed;
})
.then(noop, noop);
```


Expand Down Expand Up @@ -4222,9 +4222,9 @@ No properties for event
.then((value) => {
if (value === enableOption) {
sendTelemetryEvent(Telemetry.SelfCertsMessageEnabled);
void this.configuration.updateSetting(
'allowUnauthorizedRemoteConnection',
true,
this.configuration
.updateSetting(
'allowUnauthorizedRemoteConnection',
```


Expand Down Expand Up @@ -6978,9 +6978,9 @@ No properties for event
if (!this.perceivedJupyterStartupTelemetryCaptured) {
this.perceivedJupyterStartupTelemetryCaptured = true;
sendTelemetryEvent(Telemetry.PerceivedJupyterStartupNotebook, stopWatch.elapsedTime);
executionPromise.finally(() =>
sendTelemetryEvent(Telemetry.StartExecuteNotebookCellPerceivedCold, stopWatch.elapsedTime)
);
executionPromise
.finally(() =>
sendTelemetryEvent(Telemetry.StartExecuteNotebookCellPerceivedCold, stopWatch.elapsedTime)
```


Expand Down Expand Up @@ -8313,13 +8313,13 @@ No properties for event

[src/kernels/kernel.base.ts](https://github.com/microsoft/vscode-jupyter/tree/main/src/kernels/kernel.base.ts)
```typescript
this.perceivedJupyterStartupTelemetryCaptured = true;
sendTelemetryEvent(Telemetry.PerceivedJupyterStartupNotebook, stopWatch.elapsedTime);
executionPromise.finally(() =>
sendTelemetryEvent(Telemetry.StartExecuteNotebookCellPerceivedCold, stopWatch.elapsedTime)
);
executionPromise
.finally(() =>
sendTelemetryEvent(Telemetry.StartExecuteNotebookCellPerceivedCold, stopWatch.elapsedTime)
)
.catch(noop);
}
}
```

</details>
Expand Down Expand Up @@ -9228,7 +9228,7 @@ No properties for event
} catch (e) {
sendTelemetryEvent(EventName.OPEN_DATAVIEWER_FROM_VARIABLE_WINDOW_ERROR, undefined, undefined, e);
traceError(e);
void this.errorHandler.handleError(e);
this.errorHandler.handleError(e).then(noop, noop);
}
```

Expand Down

0 comments on commit b7721b3

Please sign in to comment.