Skip to content

Commit

Permalink
revert back to shared method
Browse files Browse the repository at this point in the history
Signed-off-by: Shi, Stone <[email protected]>
  • Loading branch information
shijiadong2022 committed Aug 1, 2024
1 parent 0a3a8e7 commit e547ecd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ def collect_request_attributes(
)
if http_url:
if _report_old(sem_conv_opt_in_mode):
set_string_attribute(
_set_http_url(
result,
SpanAttributes.HTTP_URL,
remove_url_credentials(http_url),
_HTTPStabilityMode.DEFAULT,
)
http_method = scope.get("method", "")
if http_method:
Expand Down

0 comments on commit e547ecd

Please sign in to comment.