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