NuGet / Home

Repo for NuGet Client issues
Other
1.5k stars 253 forks source link

Port Package Source Telemetry to ETW instead of .NET events #10152

Open zivkan opened 4 years ago

zivkan commented 4 years ago

Following our internal discussion about using ETW & design patterns for NuGet product monitoring vs telemetry, this task should:

  1. Complete investigations on how to use the appropriate APIs effectively
  2. Change our Package Source Diagnostics from using .NET events to use ETW instead, and change the VS telemetry to listen to those ETW events instead of the .NET events
  3. Show an example of capturing those events in PerfView
jeffkl commented 2 years ago

I'd like to add a generic ETW provider in all NuGet components and then add a lot more tracing. This would allow users to run things under PerfView to capture traces that they could send to us to help diagnosing problems. I've found it to be very useful in MSBuild and Project System.