How can i connect azure webapp to azure appinsights to track webapp activity

Chebolu Sai Manasa 100 Reputation points
2024-03-12T06:04:36.7366667+00:00

in azure webapp i have deployed my python react project and i have created azure app insights now i want to connect my webapp with appinsights to track user activity and events and alerts how can i do

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,783 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 19,686 Reputation points
    2024-03-13T09:04:45.83+00:00

    Chebolu Sai Manasa, thank you for posting this question on Microsoft Q&A.

    Based on the scenario mentioned in the question, there are 2 instances where AppInsights can be enabled:

    1. Python - I assume that Python is the backend application supporting the react application. Thus, you may also enable the ApplicationInsights to monitor the backend application. Please refer the link below for detailed steps on enabling the AppInsights for Python applications - Enable Azure Monitor OpenTelemetry for Python applications
    2. React - For react, the following article has detailed step by step information to enable ApplicationInsights - Enable a framework extension for Application Insights JavaScript SDK

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful