Support scopes with Amazon.Lambda.Logging.AspNetCore JSON logger
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 503
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 18
Description
### Describe the feature
It was briefly discussed in this PR:
https://github.com/aws/aws-lambda-dotnet/pull/2083#issuecomment-3046312828
Therefore, adding a separate feature request here.
Currently AspNetCore JSON logger does not support logging scopes. It would be really nice if it did.
It was also requested for non-AspNetCore scenarios:
https://github.com/aws/aws-lambda-dotnet/issues/1747#issuecomment-2450860295
### Use Case
Scopes are heavily used with Otel, so currently we lose tracing information.
Apart from that, we heavily use custom scopes, like tenantId, userId, etc.
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### AWS .NET SDK and/or Package version used
Amazon.Lambda.Logging.AspNetCore 4.1.0
### Targeted .NET Platform
.NET 8
### Operating System and version
AmazonLinux
Contributor guide
Assessment
This issue has not been assessed yet.