Skip to content

Commit e547ecd

Browse files
revert back to shared method
Signed-off-by: Shi, Stone <[email protected]>
1 parent 0a3a8e7 commit e547ecd

File tree

1 file changed

+2
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi

1 file changed

+2
-2
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ def collect_request_attributes(
356356
)
357357
if http_url:
358358
if _report_old(sem_conv_opt_in_mode):
359-
set_string_attribute(
359+
_set_http_url(
360360
result,
361-
SpanAttributes.HTTP_URL,
362361
remove_url_credentials(http_url),
362+
_HTTPStabilityMode.DEFAULT,
363363
)
364364
http_method = scope.get("method", "")
365365
if http_method:

0 commit comments

Comments
 (0)