Reputation: 809
I am using azure AI for telemetry in my project. But AI is pretty costly and it seems to keep using AI we need enable sampling.
I wanted to know how the sampling is done, can we configure it on the level of telemetry type. Would it be possible to only sample request telemetry and not the trace or exception telemetry.Also is it possible to only sample the success case and not the failure cases
Upvotes: 0
Views: 567
Reputation: 2679
Yes to all. Here is a lengthy article about all sampling types and available configuration in Application Insights.
Shortly:
<ExcludedTypes>
added to the sampling node in ApplicationInsights.config file or via
code;Upvotes: 1