Appliation Insights page views not working - azure

I've got a number of API's and Web Applications which are running under the same App Service Plan in Azure. The Web Application in question, is connected via a instrumentation key.
When I go to the app service > App Insights > It connects me to the app insights for everything in that said resource group which I expect.
The issue is when querying the PageViews table - it doesn't return any deep links. Just the home page?
Am I missing something? I thought it just needed the key and it would log pretty much everything?
If I go to the app service > Monitoring > Logs it shows this:
I expected a few more tables here?

app service > App Insights > It connects me to the app insights for everything in that said resource group which I expect.
The issue is when querying the PageViews table - it doesn't return any deep links. Just the home page?
In an App service > App Insights > Logs -> Page view gives the configured web application pageview information it will not give over all web applications information. For that you have configure the trackPageView() in your web application to capture the page view information.
Am I missing something? I thought it just needed the key and it would log pretty much everything?
If you want to add the information of page view you have to keep the appInsights.trackPageView(); in your web application java script. Refer here for more information.
If I go to the App service > Monitoring > Logs it shows this:
Yes, in an App Service Monitor Logs we cannot expect the page view information. it will give the App Service monitoring information not a specific/ Overall Web application Information.
You can view the page view information in an App Service > Application Insights > Logs > pageview
Reference
SO Thread using trackPageView

Related

How to view errors for WebApp in Azure portal and what configuration it is required

I am working on the ASP.Net MVC 4.8 application. It does have Logs file log4net and it was deployed in on-premises. Now it has been migrated to Azure. Now I am trying to find out some errors and other logs information however I am not able to find where to go and look for the logfile. I have two interest, 1 check the error messages and any log information.
If I need to make some changes what would be the easiest and straightforward way to capture logs and view them in Azure portal. As you can see in the picture below unter Monitoring there are many ways are given to see the logs but I am not sure where to go.
The app service will create an application insights of the same name.
This application Insights will contain all the logs regarding the web app along with performance data and other telemetry data too.
You can view logs live under live metrics tab in application insights of the same name as web app .
Here I have deployed a simple mvc app which logs using Ilogger (typical boilerplate app which visual studio provides ) . IT will log once I refresh the page.
Refer these MS DOCS on application insights

Application Insights stop working after deployed to Azure

I set up Application Insights on my asp.net core (2.2) app. I can see data in Azure portal when I run my application locally. However, once I deploy it to App Service in Azure, Application Insights stop working - there is no data flow at all. Are there any additional steps I am missing?
Adding to Stuart's comments- > If you edited ApplicationInsights.config, kindly check the configuration of TelemetryInitializers and TelemetryProcessors. An incorrectly-named type or parameter can cause the SDK to send no data.
Also, in the Application Insights portal, open Diagnostic Search. Data usually appears here first. Refresh to see if it helps.
If feasible, you may restart the app and check to see if that helps.

View Requests in applications Insights

I have a web api project deployed on azure... I need to see all requests arrive to the APIs.
I am almost sure that before I could see the requests but now I do not see anything... The strange thing is that now applications insights look like switched off... Here what I see when I go on azure:
So, when I go in Analytics on Applications Isights on Azure and I try to do a query on the requests table no result is found.
App. Insights is enabled:
And the instrument key is the same on azure and on my vs project:
What could be happened? Thank you

Enable the AI using Application Insights Status Monitor but SQL Dependencies in Command property is not showing the generated SQL

I was hosted my ASP.NET web application into local IIS server, then enable the Application Insights by using Application Insights Status Monitor by following this link.
After configuration done, then I went to azure portal and open my application insights resource for seeing the dependency calls, requests, and exceptions everything coming nicely. The problem is that SQL Dependencies in Command property is not showing the generated SQL.
I can only see <server_name> | <database_name>, whereas in the other app I can see the whole query. See the below image for more information about my issue.
But After some time, I received the notification in status monitor like this below figure.
Can you please tell how to resolve the above issue as soon as possible?

Azure Web Application Insights "Servers" Data is Empty

I have a MVC 5 web app hosted on Azure using Application Insights. App Insights was installed via a NugGet package in VS 2015 and the Key is set correctly. I have included the JS portion in the bottom of my page template. I am receiving ALL App Insight data EXCEPT the "Servers" section, which displays lower level perfmon data (Process CPU, Avail, Memory, Process IO Rate, etc).
The ApplicationInsights.config file appears to contain the necessary module:
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector">
Here is a screenshot from the Portal:
I am running this on the B1 App Service Plan level. I cannot find any information that could indicate this information is not available at this tier.
In the Performance Counters section of the "Install Application Insights Status Monitor to monitor website performance" article they sneak in a "Not for Azure web apps" comment.
I believe they are making a distinction between Performance Telemetry, which you can get for web apps, and Server Performance Counters, which you cannot.
Take a look here. This is a custom solution, not from AI team, but it does the right thing - the account of the application pool on the box should have access to Performance Monitor to be able to read Performance Counter values and report them to AI.

Resources