mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 04:38:09 +00:00
add log sampling at the Functions layer (#174)
This commit is contained in:
@ -5,26 +5,21 @@
|
||||
"version": "[1.*, 2.0.0)"
|
||||
},
|
||||
"logging": {
|
||||
"default": "Information",
|
||||
"Host.Results": "Information",
|
||||
"Function": "Information",
|
||||
"Host.Aggregator": "Information",
|
||||
"console": {
|
||||
"default": "Information",
|
||||
"Host.Results": "Information",
|
||||
"Function": "Information",
|
||||
"Host.Aggregator": "Information"
|
||||
},
|
||||
"logLevel": {
|
||||
"default": "Information",
|
||||
"Host.Results": "Information",
|
||||
"default": "Warning",
|
||||
"Host": "Warning",
|
||||
"Function": "Information",
|
||||
"Function.FunctionA": "Information",
|
||||
"Host.Aggregator": "Information"
|
||||
"Host.Aggregator": "Warning",
|
||||
"logging:logLevel:Worker": "Warning",
|
||||
"logging:logLevel:Microsoft": "Warning",
|
||||
"AzureFunctionsJobHost:logging:logLevel:Host.Function.Console": "Warning"
|
||||
},
|
||||
"applicationInsights": {
|
||||
"samplingSettings": {
|
||||
"isEnabled": false
|
||||
"isEnabled": true,
|
||||
"InitialSamplingPercentage": 100,
|
||||
"maxTelemetryItemsPerSecond": 20,
|
||||
"excludedTypes": "Exception"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user