Include support OpenTelemetry automatic instrumentation with AddUvicornApp
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
Some of the Python OTel packages support automatic instrumentation. To make this work, the application need to be run differently (eg. via `opentelemetry-instrument` binary)
### Describe the solution you'd like
See the implementation in https://github.com/CommunityToolkit/Aspire/blob/main/src/CommunityToolkit.Aspire.Hosting.Python.Extensions/UvicornAppHostingExtension.cs#L53
Either the CommunityToolkit should be enhanced to provide this for AddUvicornApp or bring over the logic into AddUvicornApp
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.