CawaMS / EnableProfilerForCompute

2 stars 1 forks source link

Enable the Profiler on Azure VM. #3

Open junpark12 opened 6 years ago

junpark12 commented 6 years ago

Hi I followed "How to enable Application Insights Profiler on Azure Compute resources" to enable profiler on my Azure VM. I tried "Enable the Profiler on Application Insight" but I don't see my vm on the list. The only thing i can see is azure app. How can i see my VM on the list? Thanks.

CawaMS commented 6 years ago

Sorry we don't currently support listing other resources like VMs yet - the portal is optimized for Azure Web Apps only. But if you click the switch to turn on Profiler, you should start to get profiler traces. Please let us know if there is any problems. thanks!

junpark12 commented 6 years ago

When i click "Profile now" from performance blade to enable it for Azure VM, i received time error from the portal. "Profiling timeout. Refresh". According to my research in asp.net core case, I need to add following code. https://github.com/Microsoft/ApplicationInsights-Profiler-AspNetCore/issues/1 services.AddServiceProfiler(); In my case, i'm using asp.net 4.6.1. Do we have similar source code for asp.net? Thanks.

CawaMS commented 6 years ago

Would you mind clarifying the following questions? Also, would be nice if you email us on serviceprofilerhelp@microsoft.com so me and our crew can help

  1. are you using Windows or Linux Azure VM?
  2. did you click on Legacy Profiler enablement button on the Profiler configuration blade?
  3. what's you Application Insights Instrumentation key? please email us to the Microsoft supporting alias, don't share it here as it's public.