Forum Discussion
acehobbs
Nov 09, 2019Copper Contributor
application insights: what is the difference between pageViews and requests?
under logs, what is the difference between pageViews and requests? Neither seems to correspond to what cloudflare logs tell us (e.g. cloudflare shows 20,000 hits for a particular URL in a given peri...
chilberto
Nov 13, 2019Iron Contributor
Hello acehobbs,
pageViews and requests are similar
Request - Send information about a request handled by the application.
PageViews - Send information about the page viewed in the application.
In practice though the challenge is identifying what is sending the information and what settings have been applied. Assuming this is a asp.net web app, have a look at the application insights configuration file.
Take a look to see if any sampling has been applied. A common way to do this is to add a TelemetryProcessor like the following:
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
<ExcludedTypes>Event;Exception</ExcludedTypes>
</Add>