Azure / Azure/azure-functions-host
Bundle and extension versions should be logged to app insights when using default log level
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
A customer should be able to check their logs in app insights to see what version of their bundle and/or extensions are being used, without having to tweak logging levels. I tested with a v3 python app using the default host.json settings:
```json
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
}
}
```
The only log entries I see in the traces table that refer to extensions or bundles is a message about a warmup extension.
I believe this information was logged in the past, and it may have been regressed by some logging verbosity changes.
Contributor guide
Research direction
Reproduce with a v3 Python app using the default host.json settings shown, then inspect Application Insights traces for extension-bundle and extension version messages. Compare the current output with the reported prior behavior; done means those versions appear at the default log level without changing logging settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100