HTTPClientAttributesFromHTTPRequest
always sets http.scheme
to http
#3528
Labels
bug
Something isn't working
Milestone
Description
Calling
HTTPClientAttributesFromHTTPRequest
always sets the attributehttp.scheme
tohttp
, even when the URL uses thehttps
scheme.(*SemanticConventions).httpBasicAttributesFromHTTPRequest
checks for the presence of a value inrequest.TLS
to set the value ofhttp.scheme
. However, this is not set on the client side, so will always be unset:Environment
Steps To Reproduce
HTTPClientAttributesFromHTTPRequest
on the requesthttp.scheme
Expected behavior
http.scheme
should be set tohttps
.The text was updated successfully, but these errors were encountered: