Skip to content

Conversation

@AbhiPrasad
Copy link
Member

Supercedes #8505

resolves #8504

If an idle transaction's duration is longer than final timeout + idle timeout, opt to not capture and send it to Sentry.

@AbhiPrasad AbhiPrasad requested review from a team, Lms24, krystofwoldrich and mydea and removed request for a team July 26, 2023 15:26
@github-actions
Copy link
Contributor

github-actions bot commented Jul 26, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.07 KB (+0.09% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.4 KB (+0.16% 🔺)
@sentry/browser - Webpack (gzipped) 21.95 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.79 KB (+0.05% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.28 KB (+0.12% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 20.33 KB (+0.02% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.89 KB (+0.05% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 85.99 KB (+0.11% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 60.48 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 30.41 KB (+0.12% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.14 KB (0%)
@sentry/react - Webpack (gzipped) 21.96 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 92.91 KB (+0.07% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 50.89 KB (+0.11% 🔺)

@krystofwoldrich
Copy link
Contributor

Dropping the span that goes over the final timeout sounds like a good quick solution. 👍

@AbhiPrasad AbhiPrasad force-pushed the abhi-idle-transaction-trim branch from 6adbbb4 to b44cdd9 Compare July 27, 2023 12:53
Copy link
Contributor

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 🚀

I think maybe we should fo a small troubleshooting docs update for people running into the long Tx.

@AbhiPrasad
Copy link
Member Author

I think maybe we should fo a small troubleshooting docs update for people running into the long Tx.

Good idea, let me put in my todo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IdleTransaction duration should not exceed final timeout

4 participants