some handy tips for me working in and with Microsoft platform
Friday, May 21, 2021
Application Insights - Sampling
In Application Insights, using sampling is an effective way to reduce the amount of telemetry data that is sent to Application Insights. If you are worried about high storage costs if all telemetry data gets sent to Application Insights, you can make use of sampling in Application Insights.
By default Application Insights sampling is already enabled when you use the ASP.NET, ASP.NET Core software development kits.
For ASP.Net applications you can configure adaptive sampling by tuning parameters in the ApplicationInsights.config file. Some of the settings are