Skip to content

Commit 60bcf0f

Browse files
authored
Merge pull request #210414 from AaronMaxwell/aaronmax-data-model-pageview-telemetry-note
Added retention note
2 parents 8c5626e + f6ca238 commit 60bcf0f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

articles/azure-monitor/app/data-model-pageview-telemetry.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@
22
title: Azure Application Insights Data Model - PageView Telemetry
33
description: Application Insights data model for page view telemetry
44
ms.topic: conceptual
5-
ms.date: 03/24/2022
5+
ms.date: 09/07/2022
66
ms.reviewer: mmcc
77
---
88

99
# PageView telemetry: Application Insights data model
1010

11-
PageView telemetry (in [Application Insights](./app-insights-overview.md)) is logged when an application user opens a new page of a monitored application. The `Page` in this context is a logical unit that is defined by the developer to be an application tab or a screen and is not necessarily correlated to a browser webpage load or refresh action. This distinction can be further understood in the context of single-page applications (SPA) where the switch between pages is not tied to browser page actions. [`pageViews.duration`](/azure/azure-monitor/reference/tables/pageviews) is the time it takes for the application to present the page to the user.
11+
PageView telemetry (in [Application Insights](./app-insights-overview.md)) is logged when an application user opens a new page of a monitored application. The `Page` in this context is a logical unit that is defined by the developer to be an application tab or a screen and isn't necessarily correlated to a browser webpage load or refresh action. This distinction can be further understood in the context of single-page applications (SPA) where the switch between pages isn't tied to browser page actions. [`pageViews.duration`](/azure/azure-monitor/reference/tables/pageviews) is the time it takes for the application to present the page to the user.
1212

1313
> [!NOTE]
14-
> By default, Application Insights SDKs log single PageView events on each browser webpage load action, with [`pageViews.duration`](/azure/azure-monitor/reference/tables/pageviews) populated by [browser timing](#measuring-browsertiming-in-application-insights). Developers can extend additional tracking of PageView events by using the [trackPageView API call](./api-custom-events-metrics.md#page-views).
14+
> * By default, Application Insights SDKs log single PageView events on each browser webpage load action, with [`pageViews.duration`](/azure/azure-monitor/reference/tables/pageviews) populated by [browser timing](#measuring-browsertiming-in-application-insights). Developers can extend additional tracking of PageView events by using the [trackPageView API call](./api-custom-events-metrics.md#page-views).
15+
> * The default logs retention is 30 days and needs to be adjusted if you want to view page view statistics over a longer period of time.
1516
1617
## Measuring browserTiming in Application Insights
1718

1819
Modern browsers expose measurements for page load actions with the [Performance API](https://developer.mozilla.org/en-US/docs/Web/API/Performance_API). Application Insights simplifies these measurements by consolidating related timings into [standard browser metrics](../essentials/metrics-supported.md#microsoftinsightscomponents) as defined by these processing time definitions:
1920

20-
1. Client <--> DNS : Client reaches out to DNS to resolve website hostname, DNS responds with IP address.
21-
1. Client <--> Web Server : Client creates TCP then TLS handshakes with web server.
22-
1. Client <--> Web Server : Client sends request payload, waits for server to execute request, and receives first response packet.
23-
1. Client <-- Web Server : Client receives the rest of the response payload bytes from the web server.
24-
1. Client : Client now has full response payload and has to render contents into browser and load the DOM.
21+
1. Client <--> DNS: Client reaches out to DNS to resolve website hostname, DNS responds with IP address.
22+
1. Client <--> Web Server: Client creates TCP then TLS handshakes with web server.
23+
1. Client <--> Web Server: Client sends request payload, waits for server to execute request, and receives first response packet.
24+
1. Client <--Web Server: Client receives the rest of the response payload bytes from the web server.
25+
1. Client: Client now has full response payload and has to render contents into browser and load the DOM.
2526

2627
* `browserTimings/networkDuration` = #1 + #2
2728
* `browserTimings/sendDuration` = #3

0 commit comments

Comments
 (0)