Azure / Azure/azure-functions-host
Make function execution API return an execution ID that can be used to get logs
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
Today, when Portal executes a method, the only way it has to get the logs is to rely on the log stream, which doesn't work well.
Instead, we should switch to a model where we get back an invocation id (e.g. in a header) that can be used to easily get all the relevant logs (and counters) for this one invocation.
Contributor guide
Research direction
Start by tracing the Portal function-execution request and the existing log-stream path; the issue names no files or tests. Determine where an invocation ID could be returned and how logs and counters are retrieved for that invocation. Done means the API returns an ID and retrieves the relevant logs and counters without relying on the stream.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- api, backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100