According to the official documentation:
There are two ways to enable application monitoring for Azure App Services hosted applications:
Agent-based application monitoring (ApplicationInsightsAgent).
Manually instrumenting the application through code
For Sitecore 8.0 your only option is Agent-based application monitoring (...
We have raise this problem to the Sitecore Support which generated a ticket #527731 (Please use this ticket# if you have the same issue)
IMPORTANT: The following approach does not work without the hotfix provided by Sitecore, don't give a shot by simply changing the files specified in the step"after the hotfix has been installed"
Accordingly to the ...
This is also a bug in Sitecore 9.1 update 1. I have raised it as a ticket with Sitecore support and they have provided a bug reference 291373. Development of the hotfix is in progress.
I note that in the hotfix mentioned above, 2 of the files are not present in the /bin folder of 9.1.1. The missing files are:
Log Stream reads from the trace on the local disk. In order to get the Sitecore log to log streams, you need two configurations in place: A log4net traceappender and application logging enabled.
The AI log4net appender in 9.0.x was actually just logging to trace. It seems they've updated it to log to AI directly (which is more right if they have but I haven'...
As long as I understood from Application Insights, I made the below assumption which can help here.
Insights Trace= Log.Info, Publish log, search log, crawling log
Insights Avail= Azure all resource availability logs.
Insights Exception= Sitecore and other exception logs.
Insights Event= Operational logs for internal Sitecore operation from xConnect, xdb ...
The setting MaxTelemetryItemsPerSecond is not setting the sampling interval to 5 seconds, but it is telling how many items to check in 1 second, so you cannot set it to 5 minutes.
In more details
Sampling is a feature in Azure Application Insights. It is the recommended way to reduce telemetry traffic and storage, while preserving a statistically ...