Skip to content

Commit a4dbe50

Browse files
committed
.
1 parent 2bf6634 commit a4dbe50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sentry_sdk/integrations/asgi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ async def _sentry_wrapped_send(
291291
if event["status"] >= 400
292292
else "ok"
293293
)
294+
span.set_attribute(
295+
"http.response.status_code",
296+
event["status"],
297+
)
294298
else:
295299
span.set_http_status(event["status"])
296300

0 commit comments

Comments
 (0)