microsoft / ApplicationInsights-Profiler-AspNetCore

Application Insights Profiler sample and documentation
MIT License
66 stars 22 forks source link

The initial trace session is not stable #5

Closed xiaomi7732 closed 6 years ago

xiaomi7732 commented 6 years ago

Needs to investigate this and come up with a mitigation.

  1. If 404 is hit first, there is a big chance there's no trace;
  2. Sometimes, there just has no activity caught in EventPipe; Check out the investigation details in #1 . No matter what, when this happens, it is a really bad experience. Need to address this ASAP.
xiaomi7732 commented 6 years ago

Fixed in 1.1.2-beta1: https://www.nuget.org/packages/Microsoft.ApplicationInsights.Profiler.AspNetCore/1.1.2-beta1 Note: Since CLR change is needed, the fix only works in CLR 2.1+