Azure / Azure/azure-functions-host

Consolidate TriggerDetails log message into FunctionStarted message details

Open
#12,017 0 comments 0 reactions 0 assignees View on GitHub
Needs: Triage (Functions)
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.