Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/client/startupTelemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ async function getActivationTelemetryProps(
const usingGlobalInterpreter = interpreter
? isUsingGlobalInterpreterInWorkspace(interpreter.path, serviceContainer)
: false;
const usingEnvironmentsExtension = useEnvExtension();

return {
condaVersion,
Expand All @@ -148,5 +149,6 @@ async function getActivationTelemetryProps(
usingGlobalInterpreter,
appName,
isFirstSession,
usingEnvironmentsExtension,
};
}
4 changes: 4 additions & 0 deletions src/client/telemetry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ export interface IEventNamePropertyMapping {
* to approximately guess if it's the first session.
*/
isFirstSession?: boolean;
/**
* If user has enabled the Python Environments extension integration
*/
usingEnvironmentsExtension?: boolean;
};
/**
* Telemetry event sent when substituting Environment variables to calculate value of variables
Expand Down