Application Insights page views not showing yet ARE being logged

Christian Crowhurst 1 Reputation point
2020-07-15T17:34:10.847+00:00

I am using application insights in angular SPA. I've installed the latest version of the npm package @microsoft/applicationinsights-web (2.5.6).

I am logging page views with a call to trackPageView. However these are not showing up when querying the logs using the following query:

pageViews
| sort by timestamp desc

This is strange as:

  1. I DO see other telemetry items in the logs (for example I see customEvent that I logged using trackEvent)
  2. I DO see pageViewData telemetry items being POST'ed to the app insights collection endpoint)

Here is the raw data posted to app insights I see in chrome:

12446-image.png

12575-image.png

Here's the custom event showing up in the logs in the portal:

Here's the pageViews that you can see are NOT showing up in the logs:

12555-image.png

12576-image.png

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,265 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Christian Crowhurst 1 Reputation point
    2020-07-20T07:57:34.427+00:00

    I've configured the sdk to send AI internal errors and warnings as traces. I'll monitor any that I see, and if there is anything that seems unusual I'll report back here. Otherwise, it's probably a dead end and just chalked down to computers being "unpredictable"!


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.