Search code examples
azure.net-core

Profiler setting is missing from Application Insights in Azure


I'm trying to do Code Optimizations in Azure for my dotnet 8 web app in azure, according to the documentation I have to enable the Profiler for that app and I'm following instructions from here, but in my web app Application Insights settings there is no option for enabling the profiler:

enter image description here


Solution

  • The option to enable Profiler is available only in App Service with operation system Windows.

    • I have created a sample Web App with Linux Environment.

    • You can see, there is no option available related to Profiler.

    enter image description here

    App Service with Windows Environment:

    enter image description here

    • If you want to continue with the Azure Linux App service, you can configure it in the code itself.

    Refer this MSDoc which explains the same.

    OR

    • You can find the direct option in Application Insights => Performance.

    enter image description here