You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, that's incorrect. It actually goes inside samplingSettings, and is called excludedTypes. I spent 40 minutes trying to figure out why the excluded types weren't working, all because the docs are wrong!
@andrewleader PR has been created for this which will address this. Thanks so much for providing the feedback that help us in improving the documentation. For now I will proceed with closure of this and If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
The docs claim
samplingExcludedTypes
(andsamplingIncludedTypes
) are directly children ofapplicationInsights
and NOT insidesamplingSettings
...However, that's incorrect. It actually goes inside samplingSettings, and is called
excludedTypes
. I spent 40 minutes trying to figure out why the excluded types weren't working, all because the docs are wrong!Their source code confirms this and was the reason I tried moving the property inside samplingSettings: https://github.com/Azure/azure-functions-host/blob/8e37c6f055d538460df6c18fc74c310edd58f225/src/WebJobs.Script/Config/ApplicationInsightsLoggerOptionsSetup.cs#L58
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: