@@ -74,6 +74,7 @@ RawEventsVSCodeExt
7474 HasDuration = countif (todouble (Properties.duration) > 0 )
7575| extend
7676 ResultPopulatedPct = round (todouble (HasResult) / todouble (TotalEvents) * 100 , 1 ),
77+ ErrorPct = round (todouble (ResultError) / todouble (HasResult) * 100 , 2 ),
7778 Status = iff (HasResult == TotalEvents, "✅ ALL EVENTS HAVE result" , "⚠️ SOME EVENTS MISSING result" );
7879
7980
@@ -90,8 +91,19 @@ RawEventsVSCodeExt
9091| where _minor > 23 or (_minor == 23 and _patch >= 10781012 )
9192| summarize
9293 EventCount = count (),
93- UniqueMachines = dcount (VSCodeMachineId)
94+ UniqueMachines = dcount (VSCodeMachineId),
95+ TotalUniqueMachines = dcount (VSCodeMachineId)
9496 by ManagerName = tostring (Properties.managername), Reason = tostring (Properties.reason)
97+ | extend TotalUniqueMachines = toscalar (
98+ RawEventsVSCodeExt
99+ | where ServerTimestamp > ago (7 d )
100+ | where EventName == "ms-python.vscode-python-envs/manager_registration.skipped"
101+ | extend ExtVersion = tostring (Properties["common.extversion" ])
102+ | extend _minor = toint (extract ("^1\\.(\\d+)" , 1 , ExtVersion)), _patch = tolong (extract ("^1\\.\\d+\\.(\\d+)" , 1 , ExtVersion))
103+ | where _minor > 23 or (_minor == 23 and _patch >= 10781012 )
104+ | summarize dcount (VSCodeMachineId)
105+ )
106+ | extend MachinePct = round (todouble (UniqueMachines) / todouble (TotalUniqueMachines) * 100 , 1 )
95107| order by EventCount desc ;
96108
97109
0 commit comments