1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/semconv/v1.4.0
ET 1f4b606be8
Fix IPv6 parsing errors in semconv.NetAttributesFromHTTPRequest (#2285)
* Fix IPv6 handling errors in semconv.NetAttributesFromHTTPRequest

fixes #2283

* Enter PR number in CHANGELOG

* Remove unnecessary creation and then assignment

Standardize order of checks for IP, Name, Port

* Assume happy path when parsing host and port

i.e. assume net.SplitHostPort(input) will succeed

* Get rid of uint64 for port

* Fix git merge of main by adding back strings import

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-10-18 13:13:52 -07:00
..
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
exception.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
http_test.go Fix IPv6 parsing errors in semconv.NetAttributesFromHTTPRequest (#2285) 2021-10-18 13:13:52 -07:00
http.go Fix IPv6 parsing errors in semconv.NetAttributesFromHTTPRequest (#2285) 2021-10-18 13:13:52 -07:00
resource.go semconv-gen: fix capitalization at word boundaries, add stability/deprecation indicators (#2033) 2021-06-28 09:11:49 -07:00
schema.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
trace.go semconv-gen: fix capitalization at word boundaries, add stability/deprecation indicators (#2033) 2021-06-28 09:11:49 -07:00