You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are we going to add timeout for all of auto transactions? I'm referring to SentrySpanProcessor or SentryNavigationListener
Ah I missed SentryNavigationListener, thanks!
For SentrySpanProcessor and other more backend related transaction like SentryTracingFilter or SentryWebFilter I don't think it makes a lot of sense, @adinauer any opinions on this?
The backend request transactions should in theory always be finished once the request finishes or is cancelled. Having a deadline makes sense for the annotation based @Transaction and manual transactions tho.
For the OTEL SentrySpanProcessor I think it's best to leave this to OTEL and not forcefully finish any transactions there.
Since I'm in the middle of moving our Spring Boot code into a new module in #2880 maybe it makes more sense to split out the backend part here and do it in a follow up PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Adds a timeout of 30s to automatic UI transactions.
Inspired by cocoa: https://github.com/getsentry/sentry-cocoa/blob/a176fc448cf5f3ea7b188449b8170b14ce6805cf/Sources/Sentry/SentryTracer.m#L248-L266
💡 Motivation and Context
Fixes #2514
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps