-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fallback to URL.Host if Request.Host is empty #2661
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Can you please add a CHANGELOG.md
entry for this enhancement and apply it to the remaining semconv
versions?
I made this change in the "current"(?) package of Proceeding forward for completeness sake, I can't tell which direction this should go in, as related to "versioning":
|
As I typed that, I see now that @Aneurysm9 answered my question. I shall proceed! 🎉 |
@Aneurysm9 Made the requested changes. 👍 |
Codecov Report
@@ Coverage Diff @@
## main #2661 +/- ##
=====================================
Coverage 75.7% 75.8%
=====================================
Files 173 173
Lines 11664 11672 +8
=====================================
+ Hits 8840 8854 +14
+ Misses 2614 2608 -6
Partials 210 210
|
The stdlib
http.Request
comments for theHost
member variable states:The
semconv
package(s) wasn't takingurl.URL.Host
into account whenhttp.Request.Host
was empty.