|
214 | 214 | "pattern": "^\\d\\d:\\d\\d:\\d\\d$"
|
215 | 215 | }
|
216 | 216 | }
|
| 217 | + }, |
| 218 | + |
| 219 | + "logger": { |
| 220 | + "description": "Configuration settings for logging.", |
| 221 | + "type": "object", |
| 222 | + |
| 223 | + "properties": { |
| 224 | + "defaultLevel": { |
| 225 | + "description": "The default level for logging. If a category level is not specified, this value is used.", |
| 226 | + "enum": [ "Critical", "Debug", "Error", "Information", "None", "Trace", "Warning" ], |
| 227 | + "default": "Information" |
| 228 | + }, |
| 229 | + |
| 230 | + "categoryLevels": { |
| 231 | + "description": "Log levels for specific categories.", |
| 232 | + "type": "object", |
| 233 | + |
| 234 | + "additionalProperties": { |
| 235 | + "enum": [ "Critical", "Debug", "Error", "Information", "None", "Trace", "Warning" ] |
| 236 | + } |
| 237 | + } |
| 238 | + } |
| 239 | + }, |
| 240 | + |
| 241 | + "aggregator": { |
| 242 | + "description": "Configuration settings for the function result aggregator.", |
| 243 | + "type": "object", |
| 244 | + |
| 245 | + "properties": { |
| 246 | + "batchSize": { |
| 247 | + "description": "The maximum batch size for aggregations. If this value is reached before the 'flushTimeout', all values will be flushed.", |
| 248 | + "type": "integer", |
| 249 | + "default": 1000 |
| 250 | + }, |
| 251 | + |
| 252 | + "flushTimeout": { |
| 253 | + "description": "The aggregation duration. The aggregator will flush periodically based on this value.", |
| 254 | + "pattern": "^\\d\\d:\\d\\d:\\d\\d$", |
| 255 | + "default": "00:00:30" |
| 256 | + } |
| 257 | + } |
| 258 | + }, |
| 259 | + |
| 260 | + "applicationInsights": { |
| 261 | + "description": "Configuration settings for Application Insights logging.", |
| 262 | + "type": "object", |
| 263 | + |
| 264 | + "properties": { |
| 265 | + "sampling": { |
| 266 | + "description": "Configuration settings for Application Insights client-side adaptive sampling.", |
| 267 | + "type": "object", |
| 268 | + |
| 269 | + "properties": { |
| 270 | + "isEnabled": { |
| 271 | + "description": "If true, client-side adaptive sampling is enabled.", |
| 272 | + "type": "boolean", |
| 273 | + "default": true |
| 274 | + }, |
| 275 | + |
| 276 | + "maxTelemetryItemsPerSecond": { |
| 277 | + "description": "The target rate that the adaptive algorithm aims for on each instance", |
| 278 | + "type": "integer", |
| 279 | + "default": 5 |
| 280 | + } |
| 281 | + } |
| 282 | + } |
| 283 | + } |
217 | 284 | }
|
218 | 285 | }
|
219 | 286 | }
|
0 commit comments