File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1+ Update telemetry property name for Jedi memory usage.
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ export class JediProxy implements Disposable {
285285 if  ( result  &&  result . memory )  { 
286286 restartJedi  =  result . memory  >  limit  *  1024  *  1024 ; 
287287 const  props  =  { 
288-  memory : result . memory , 
288+  mem_use : result . memory , 
289289 limit : limit  *  1024  *  1024 , 
290290 isUserDefinedLimit : limit  !==  1024 , 
291291 restart : restartJedi 
Original file line number Diff line number Diff line change @@ -411,12 +411,12 @@ export interface IEventNamePropertyMapping {
411411 [ Telemetry . WebviewStyleUpdate ] : never  |  undefined ; 
412412 /* 
413413 Telemetry event sent with details of Jedi Memory usage. 
414-  memory  - Memory usage of Process in kb. 
414+  mem_use  - Memory usage of Process in kb. 
415415 limit - Upper bound for memory usage of Jedi process. 
416416 isUserDefinedLimit - Whether the user has configfured the upper bound limit. 
417417 restart - Whether to restart the Jedi Process (i.e. memory > limit). 
418418 */ 
419-  [ EventName . JEDI_MEMORY ] : {  memory : number ;  limit : number ;  isUserDefinedLimit : boolean ;  restart : boolean  } ; 
419+  [ EventName . JEDI_MEMORY ] : {  mem_use : number ;  limit : number ;  isUserDefinedLimit : boolean ;  restart : boolean  } ; 
420420 /* 
421421 Telemetry event sent to provide information on whether we have successfully identify the type of shell used. 
422422 This information is useful in determining how well we identify shells on users machines. 
                         You can’t perform that action at this time. 
           
                  
0 commit comments