Skip to main content

[JavaScript] Why are all my frontend transactions 30 seconds long?

Updated over a month ago

Issue

My pageload and navigation transactions seem to be capped at 30 seconds. I know that they go longer than that, and I am losing data.

Applies To

  • JavaScript SDK users

  • browserTracingIntegration() users

Resolution

There is a default max duration for pageload and navigation transactions of 30 seconds.
​
You can configure this with the finalTimeout option documented here. Please note that this option goes into the browserTracingIntegration({}) rather than provided at the root Sentry.init() level.

Did this answer your question?