【发布时间】:2022-12-04 13:10:01
【问题描述】:
i\'ve just written web app in ASP.NET that sends lots of logs to Application Insight. I want to set adaptive sampling on requests that are send to my application, because of huge amount of them. However I wouldn\'t like to be so restrictive on sampling of .js files. Is it possible to to set sampling to reqests just for specific files extensions ? E.g. I want to set sampling with max items per seconds = 3 for all files except .js files - for them I allow to set it to 1. (send more data to AI)
I didn\'t find solution for this case in documentation. Some piece of code would be nice.
标签: .net logging filter azure-application-insights sampling