How to enable application insights for APP Plan

omy devops 0 Reputation points
2023-01-30T15:26:32+00:00

My webapp show in settings>Application Insights the option to "Turn on Application Insights". In Applications Insights resource in Application Map I view my webapp. I cant get application insights metrics in my WebApp.
My question is:
Where and how my application insigths to the webapp has been enabled?
Thanks guys.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,452 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,099 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Umang Middha 550 Reputation points
    2023-01-31T06:04:17.1933333+00:00

    Hello omy,

    Hope you are doing well today!

    To enable Application Insights for a web app in Azure, follow these steps:

    1. Go to the Azure portal and select the web app for which you want to enable Application Insights.
    2. Locate the "Application Insights" section in the web app resource.
    3. If Application Insights is not already enabled, click "New" to create a new instance.
    4. Fill in the required information, such as the name, location, and resource group.
    5. Click "Create" to complete the setup process.

    Once enabled, Application Insights will start collecting telemetry data, such as request and response information, performance metrics, and application logs, to monitor the health and performance of your web app and help diagnose and resolve issues. You can access the collected data in the Azure portal or through the Application Insights REST API.

    Regards,

    Umang Middha

    0 comments No comments

  2. AnuragSingh-MSFT 21,471 Reputation points
    2023-02-02T04:49:26.25+00:00

    @omy devops following up on the response above to check if helped.

    Please see the following link which contains screenshots and additional information for enabling Application Insights on Azure Web App hosted applications - Application monitoring for Azure App Service and ASP.NET Core

    I don't see the language and platform used for your application, however, if your application is running on .NET Core, .NET, Java or Node.js, you can use the Auto instrumentation feature of Application Insights which enables the monitoring using the steps mentioned above.

    Please see this link for an overview of enabling ApplicationInsights, and various ways it can be enabled.

    Hope this helps. Please let us know if you have any questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.