Android - Add possibility to remove deadline timeout for activity transactions
Problem Statement
Sentry Android SDK version - 8.2.0
Hi,
If the io.sentry.traces.activity.auto-finish.enable flag is disabled, the transaction is automatically finished in 30 seconds with the DEADLINE_EXCEEDED result.
Could you add the possibility of removing this deadline? We'd like to track activities throughout their lifetime.
Solution Brainstorm
No response
We'd like to track activities throughout their lifetime.
@zhukic Could you elaborate on this, and which benefits you expect from a transaction bound to the activity lifecycle?
@markushi We want to track the slow/frozen frame rates during full activity lifecycle
@markushi Hi,
Any thoughts about this?
@zhukic We're still discussing about this internally, as we have do have a few features coming up which could provide slow/frozen frames in a more granular level (~being able to let you when a frozen frame occured during your activity lifecycle), but there's nothing set in stone right now. I'll let you know once I have some more concrete answer for you!
let's expose the deadlineTimeout option in SentryOptions to allow overriding it. And make it clear it applies only to auto-instrumented txs.
Hi, What's the status of this feature?
We're still on this, it's already marked as TODO so you can expect this to be implemented very soon.
Hi, What's the status of it?
@zhukic no update yet, we'll follow up here when we start working on it and/or this has been released
@zhukic we added a deadlineTimeout option, which can be set to 0 to disable it
This will land in version 8.18.0, probably sometime next week
@stefanosiano Thank you!