Skip to content

Commit 7f0ab1a

Browse files
authored
Include/Exclude setting conflicts
This is documented in the raw SDK source code but need to surface up to customers who are learning about Sampling settings in our SDK. Adding FAQ to help customers understand the conflict between include/exclude sampling settings.
1 parent 36cf188 commit 7f0ab1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/azure-monitor/app/sampling-classic-api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,11 @@ Use the [examples in the earlier section of this page](#configuring-adaptive-sam
538538

539539
* Configuring too high a sampling percentage (not aggressive enough) results in an insufficient reduction in the volume of the collected telemetry. You can still experience telemetry data loss related to throttling, and the cost of using Application Insights might be higher than you planned due to overage charges.
540540

541+
*What happens if I configure both IncludedTypes and ExcludedTypes settings?*
542+
543+
* It's best not to set both `ExcludedTypes` and `IncludedTypes` in your configuration to prevent any conflicts and ensure clear telemetry collection settings.
544+
* Telemetry types that are listed in `ExcludedTypes` are excluded even if they are also set in `IncludedTypes` settings. ExcludedTypes will take precedence over IncludedTypes.
545+
541546
*On what platforms can I use sampling?*
542547

543548
* Ingestion sampling can occur automatically for any telemetry above a certain volume, if the SDK isn't performing sampling. This configuration would work, for example, if you're using an older version of the ASP.NET SDK or Java SDK.

0 commit comments

Comments
 (0)