Azure / Azure/azure-functions-dotnet-worker
Add function name to tracing
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
Currently the `Activity` started for an invocation is called `Invoke` and it contains the invocation id as tag `faas.execution`.
https://github.com/Azure/azure-functions-dotnet-worker/blob/main/src/DotNetWorker.Core/Diagnostics/FunctionActivitySourceFactory.cs#L63
However, I find the function name in such context more useful than the invocation id.
Is it possible to add the function name as tag to that activity?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading src/DotNetWorker.Core/Diagnostics/FunctionActivitySourceFactory.cs around line 63, where the invocation Activity is created. Trace the invocation data available there and determine how the function name should be exposed as an Activity tag. Done means the tracing activity includes the function name while retaining the existing invocation identifier tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100