diff --git a/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs b/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs index f983cd19c..3658e4755 100644 --- a/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs +++ b/src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs @@ -165,18 +165,21 @@ private void SendTelemetry(double elapsed, int originalRemaining, int remaining, double privateMB; double peakPagedMB; + double workingMB; using (var proc = Process.GetCurrentProcess()) { privateMB = proc.PrivateMemorySize64 / 1e+6; peakPagedMB = proc.PeakPagedMemorySize64 / 1e+6; + workingMB = proc.WorkingSet64 / 1e+6; } var e = new TelemetryEvent { - EventName = "analysis_complete", + EventName = "python_language_server/analysis_complete", // TODO: Move this common prefix into Core. }; e.Measurements["privateMB"] = privateMB; e.Measurements["peakPagedMB"] = peakPagedMB; + e.Measurements["workingMB"] = workingMB; e.Measurements["elapsedMs"] = elapsed; e.Measurements["entries"] = originalRemaining; e.Measurements["version"] = version;