Last active
January 31, 2020 18:36
-
-
Save andrewleader/28b6b4903b3db6043378e818d3b3a8b3 to your computer and use it in GitHub Desktop.
Disable dependencies/traces from Azure Functions Application Insights via host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0", | |
"logging": { | |
"applicationInsights": { | |
"samplingSettings": { | |
"isEnabled": true, | |
"initialSamplingPercentage": 0.0, | |
"minSamplingPercentage": 0.0, | |
"maxSamplingPercentage": 0.0, | |
"excludedTypes": "Event;Exception" | |
}, | |
"enableLiveMetrics": false, | |
"enableDependencyTracking": false, | |
"enablePerformanceCountersCollection": false, | |
"httpAutoCollectionOptions": { | |
"enableHttpTriggerExtendedInfoCollection": false, | |
"enableW3CDistributedTracing": false, | |
"enableResponseHeaderInjection": false | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More info: https://medium.com/@andrewleader/disable-tracking-dependencies-in-azure-function-application-insights-629e5d192464