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
SentryFragmentLifecycleCallbacks creates long running spans for ViewPager2 #3269
Comments
@markushi any updates on this? |
we are going to take a look at this in the next week |
Hi @stefanosiano, were you guys able to make any progress on this one? |
Hi @realkosty |
Options considered:
It seems like the only real option for us is to stop the span in |
Integration
sentry-android
Build System
Gradle
AGP Version
unknown
Proguard
Enabled
Version
unknown
Steps to Reproduce
Expected Result
No span is created for non-visible fragments.
Actual Result
A span is created, but due to this:
the spans end up running into an timeout, causing extra long transaction durations.
We probably should be using
getUserVisibleHint()
orgetMinimumMaxLifecycleState()
to determine Fragments which won't be activated.┆Issue is synchronized with this Jira Improvement by Unito
The text was updated successfully, but these errors were encountered: