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