Skip to content

Commit b421309

Browse files
authored
fix(react native): Add maxTransactionDuration to tracing config options (#4657)
1 parent 3a6abc2 commit b421309

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/platforms/react-native/performance/instrumentation/automatic-instrumentation.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ This function can be used to filter out unwanted spans, such as XHR's running he
435435

436436
<PlatformContent includePath="performance/filter-span-example" />
437437

438+
### maxTransactionDuration
439+
440+
The maximum duration of a transaction, measured in seconds, before it will be marked as "deadline_exceeded". If you never want transactions marked that way, set `maxTransactionDuration` to 0.
441+
442+
The default is `600`.
443+
438444
## Recipes
439445

440446
Currently, by default, the React Native SDK will only create child spans for fetch/XHR transactions out of the box. This means once you are done setting up your routing instrumentation, you will either see just a few fetch/XHR child spans or no children at all. To find out how to customize instrumentation your app, review our <PlatformLink to="/performance/instrumentation/custom-instrumentation/">Custom Instrumentation</PlatformLink>.

0 commit comments

Comments
 (0)