-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove userAgent tag from HttpClient activity #5110
Remove userAgent tag from HttpClient activity #5110
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5110 +/- ##
==========================================
+ Coverage 83.13% 83.15% +0.01%
==========================================
Files 296 296
Lines 12318 12314 -4
==========================================
- Hits 10241 10240 -1
+ Misses 2077 2074 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Do we plan to provide an option to opt-in as well? Or just removal for now, and asking to use Enrich to get user-agent? |
Would suggest Enrich for any additional attributes. |
That would be reasonable approach, as long we know dotnet/runtime#93019 is committed for .NET 9. Otherwise, its better to expose APIs for opt-in fields. |
Fixes #
Design discussion issue #
Changes
User Agent is an opt-in tag so removing it https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md#http-client and it was also a bug to use older
http.user_agent
tag instead ofuser_agent.original
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes