-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature Request
With .NET 8's improved async stack trace support, it would be great if the enricher could capture async call stacks more accurately.
Current Behavior
Async call stacks often show incomplete information or generic async state machine methods instead of the actual async method names.
Desired Behavior
Show clean async method names like:
ProcessDataAsync:23 --> ValidateInputAsync:45 --> SaveToDbAsync:12
Instead of:
MoveNext:1 --> SetResult:1 --> MoveNext:1
Use Case
We have a microservice architecture with heavy async usage and the current stack traces make debugging very difficult.
Additional Context
.NET 8 added Environment.StackTrace improvements and StackFrame.GetAsyncMethod() API that might help with this.
Would be happy to contribute to this feature if you can provide some guidance on the approach!
Metadata
Metadata
Assignees
Labels
No labels