mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-02 02:52:18 +08:00
@ -160,7 +160,7 @@ def collect_request_attributes(scope):
|
|||||||
if query_string and http_url:
|
if query_string and http_url:
|
||||||
if isinstance(query_string, bytes):
|
if isinstance(query_string, bytes):
|
||||||
query_string = query_string.decode("utf8")
|
query_string = query_string.decode("utf8")
|
||||||
http_url = http_url + ("?" + urllib.parse.unquote(query_string))
|
http_url += "?" + urllib.parse.unquote(query_string)
|
||||||
|
|
||||||
result = {
|
result = {
|
||||||
SpanAttributes.HTTP_SCHEME: scope.get("scheme"),
|
SpanAttributes.HTTP_SCHEME: scope.get("scheme"),
|
||||||
|
Reference in New Issue
Block a user