ApplicationInsights-dotnet icon indicating copy to clipboard operation
ApplicationInsights-dotnet copied to clipboard

Disable sampling for trace type in ApplicationInsights.config

Open tlsun0921 opened this issue 1 year ago • 0 comments

i disabled the sampling for certain types in the ApplicationInsights.config as following image

i am not sure if this will work for sure after prod release. so i released to QA enviroment and run the following query union requests,dependencies,pageViews,browserTimings,exceptions,traces | where timestamp > ago(21h) | summarize RetainedPercentage = 100/avg(itemCount) by bin(timestamp, 1h), itemType

but i still seeing the following, request and trace types are still sampled. image

tlsun0921 avatar Apr 26 '23 16:04 tlsun0921