Azure / Azure/azure-functions-host
Consolidate TriggerDetails log message into FunctionStarted message details
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
Having these two messages separately creates double the log messages in our hottest paths. Combining them together would save a lot of log capacity for us and customers.
Requires a design -- main goal is to get our backend kusto logs reduced, so it may be reasonable to do this *only* for our internal logs in some fancy way inside the `SystemLogger`. Other alternative is to change it for all customers at the source.
Log source: https://github.com/Azure/azure-webjobs-sdk/blob/6fa7fd7e373758c5a3948eada4fcfdb4a2dff2f7/src/Microsoft.Azure.WebJobs.Host/Loggers/FunctionInstanceLogger.cs#L22-L37
Contributor guide
Research direction
Start with src/Microsoft.Azure.WebJobs.Host/Loggers/FunctionInstanceLogger.cs at lines 22-37 and trace how TriggerDetails and FunctionStarted messages are emitted. Compare the internal and customer logging paths before choosing an approach. Done means the design is settled and the duplicate hot-path log output is reduced without losing required details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100