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

Unexpectedly long traces are getting created for network requests and manually created spans #1324

Open
mukesh-mt opened this issue Jun 22, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@mukesh-mt
Copy link

The trace created by URLSession instrumentation as well as some manual created spans have very long duration.

Screenshot 2023-06-22 at 10 25 01 PM
@ganeshnj
Copy link
Contributor

@mukesh-mt thanks for filing the issue.

Could you provide reproduction steps?

@ganeshnj ganeshnj added the awaiting response Waiting for response / confirmation from the reporter label Jun 22, 2023
@mukesh-mt
Copy link
Author

I am able to reproduce this when I put the app in background while some api calls were executing, the total time also includes the time when app was in background.

@hannadutkiewicz
Copy link

We're experiencing the same issue. It's also reproducible when the app goes into background while a custom span was started. I don't see any method to pause the started span when app goes into background. How do you think we should handle this?

@mariedm mariedm added bug Something isn't working and removed awaiting response Waiting for response / confirmation from the reporter labels Sep 10, 2024
@mariedm
Copy link
Contributor

mariedm commented Sep 12, 2024

Hello, thank you all for reporting this issue. We will work on a fix and keep you updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants