Azure Web App deployed from Azure OpenAI Studio doesn't send data to Application Insight

Narendra Mahendrakar (Microland) 0 Reputation points
2024-05-09T06:01:51.2466667+00:00

I built my own knowledge management using Azure OpenAI and Azure Search for document indexing and retrieval. I've also deployed it to an Azure web app (from Azure AI Studio), which is like a front-end chatbot. The Azure Web App is deployed with Python 3.11 runtime stack.

I enabled Application Insight for the web application. From the Web App blade, I see that its Enabled and connected to the Application Insight.

My problem is that I don't see any data in the Application Insight. Application map shows 'No data available'. I made sure that the web application is automatically instrumented with the correct InstrumentationKey & Connection String etc.

I know that app monitoring for Azure App Service and Python is still in preview. I'm not sure if that's causing a problem here.

Can you please help me with this Azure web application configuration (python 3.11) enable Application Insight for app monitoring?

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,853 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,990 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,434 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Gowtham CP 1,010 Reputation points
    2024-05-10T07:09:53.2666667+00:00

    Hello @Narendra Mahendrakar (Microland),

    Thanks for reaching out in the Microsoft Q&A!

    To ensure data is being sent to Application Insights for your Azure Web App, there are several key steps to follow. Firstly, verify that your ApplicationInsights.config or appsettings.json file contains the correct InstrumentationKey. Additionally, confirm that this file is being deployed alongside your web application code to ensure proper configuration. Consider explicitly adding necessary telemetry modules in your code to capture specific data points effectively. Check the log level in your configuration (e.g., appsettings.json) to ensure it's set to capture the desired telemetry data. Double-check the connection string in your configuration to verify it points to the correct Application Insights resource in Azure.

    If you found this solution helpful, consider accepting it.