File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
interpreter/configuration Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class LanguageServerDownloader implements ILanguageServerDownloader {
45
45
public async downloadLanguageServer ( context : IExtensionContext ) : Promise < void > {
46
46
const downloadInfo = await this . getDownloadInfo ( ) ;
47
47
const downloadUri = downloadInfo . uri ;
48
- const version = downloadInfo . version . raw ;
48
+ const lsVersion = downloadInfo . version . raw ;
49
49
const timer : StopWatch = new StopWatch ( ) ;
50
50
let success : boolean = true ;
51
51
let localTempFilePath = '' ;
@@ -61,7 +61,7 @@ export class LanguageServerDownloader implements ILanguageServerDownloader {
61
61
sendTelemetryEvent (
62
62
PYTHON_LANGUAGE_SERVER_DOWNLOADED ,
63
63
timer . elapsedTime ,
64
- { success, version }
64
+ { success, lsVersion }
65
65
) ;
66
66
}
67
67
@@ -77,7 +77,7 @@ export class LanguageServerDownloader implements ILanguageServerDownloader {
77
77
sendTelemetryEvent (
78
78
PYTHON_LANGUAGE_SERVER_EXTRACTED ,
79
79
timer . elapsedTime ,
80
- { success, version }
80
+ { success, lsVersion }
81
81
) ;
82
82
await this . fs . deleteFile ( localTempFilePath ) ;
83
83
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class PythonPathUpdaterService implements IPythonPathUpdaterServiceManage
50
50
. catch < string > ( ( ) => '' ) ;
51
51
const [ info , pipVersion ] = await Promise . all ( [ infoPromise , pipVersionPromise ] ) ;
52
52
if ( info ) {
53
- telemtryProperties . version = info . version ;
53
+ telemtryProperties . pyVersion = info . version ;
54
54
}
55
55
if ( pipVersion ) {
56
56
telemtryProperties . pipVersion = pipVersion ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export type FormatTelemetry = {
17
17
18
18
export type LanguageServerTelemetry = {
19
19
success : boolean ;
20
+ lsVersion ?: string ;
20
21
} ;
21
22
22
23
export type LinterTrigger = 'auto' | 'save' ;
@@ -30,7 +31,7 @@ export type LintingTelemetry = {
30
31
export type PythonInterpreterTelemetry = {
31
32
trigger : 'ui' | 'shebang' | 'load' ;
32
33
failed : boolean ;
33
- version ?: string ;
34
+ pyVersion ?: string ;
34
35
pipVersion ?: string ;
35
36
} ;
36
37
export type CodeExecutionTelemetry = {
You can’t perform that action at this time.
0 commit comments