Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent/child relationship in spans from ASGI based streaming response wrong. #3822

Open
antonpirker opened this issue Nov 25, 2024 · 0 comments
Labels
Integration: ASGI Type: Bug Something isn't working

Comments

@antonpirker
Copy link
Member

antonpirker commented Nov 25, 2024

How do you use Sentry?

Sentry Saas (sentry.io)

Version

all

Steps to Reproduce

Run this demo application:
https://github.com/antonpirker/testing-sentry/blob/main/test-fastapi-streaming-response/main.py

Expected Result

The spans created in the response generator called SPAN Stream Response Generator should be childrend of the span SPAN Streaming View.

Actual Result

The spans SPAN Stream Response Generator are children of the root and siblings to SPAN Streaming View:
Image

Solution brain storming

This is probably related to: #3798
And should also be treated the same way (with having a maximum transaction duration of 5 minutes)

@antonpirker antonpirker added Integration: ASGI Type: Bug Something isn't working labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration: ASGI Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant