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
Copy file name to clipboardExpand all lines: docs/platforms/android/configuration/options.mdx
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,6 +175,22 @@ This only affects [user interaction transactions](/platforms/android/tracing/ins
175
175
176
176
</ConfigKey>
177
177
178
+
<ConfigKeyname="deadline-timeout">
179
+
180
+
The deadline time, measured in ms, to wait until a transaction will be automatically forcefully finished, even if a child span is currently running.
181
+
182
+
The default is `30000`.
183
+
184
+
_(New in version 8.18.0)_
185
+
186
+
<Alert>
187
+
188
+
This only affects [automatic transactions](/platforms/android/tracing/instrumentation/automatic-instrumentation/).
189
+
190
+
</Alert>
191
+
192
+
</ConfigKey>
193
+
178
194
<ConfigKeyname="enabled">
179
195
180
196
Specifies whether this SDK should send events to Sentry. Defaults to `true`. Setting this to `enabled: false` doesn't prevent all overhead from Sentry instrumentation. To disable Sentry completely, depending on environment, call `SentryAndroid.init` conditionally.
Copy file name to clipboardExpand all lines: docs/platforms/android/tracing/instrumentation/automatic-instrumentation.mdx
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -338,11 +338,38 @@ plugins {
338
338
339
339
#### Transaction Lifetime
340
340
341
-
The transaction finishes automatically after it reaches the specified [idleTimeout](/platforms/android/configuration/options/#idle-timeout) and all of its child spans are finished. The `idleTimeoout` defaults to `3000` milliseconds (three seconds). You can also disable the idle timeout by setting it to `null`, but the transaction must be finished manually in this case.
341
+
The transaction finishes automatically after it reaches the specified [idleTimeout](/platforms/android/configuration/options/#idle-timeout) and all of its child spans are finished, or after it reaches the specified [deadlineTimeout](/platforms/android/configuration/options/#deadline-timeout), even if child spans are still running.
342
+
343
+
The `idleTimeout` defaults to `3000` milliseconds (three seconds), and the `deadlineTimeout` defaults to `30000` milliseconds (thirty seconds). You can also disable the idle timeout and deadline timeout by setting them to `null`, but the transaction must be finished manually in this case.
0 commit comments