Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Feb 20, 2024

This will ensure a span is sent as a transaction to Sentry.

This only implements this option for the core implementation, not yet for OTEL - that is a follow up here: #10807

@mydea mydea self-assigned this Feb 20, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.39 KB (+0.16% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.64 KB (+0.15% 🔺)
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.55 KB (+0.14% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.15 KB (+0.16% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 32.82 KB (+0.32% 🔺)
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 32.82 KB (+0.32% 🔺)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 30.91 KB (0%)
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 30.91 KB (0%)
@sentry/browser - Webpack (gzipped) 22.19 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.79 KB (+0.06% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.54 KB (+0.08% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.33 KB (+0.14% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 24.74 KB (+0.06% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.44 KB (+0.08% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 100.16 KB (+0.17% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.96 KB (+0.25% 🔺)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.39 KB (+0.11% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.93 KB (+0.16% 🔺)
@sentry/react - Webpack (gzipped) 22.22 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.35 KB (+0.12% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 49.76 KB (+0.2% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 17.14 KB (0%)

@mydea
Copy link
Member Author

mydea commented Feb 20, 2024

maybe forceTransaction would be a better option name than isTransaction, because this is rather what it doe?

Copy link
Contributor

@lforst lforst left a comment

Choose a reason for hiding this comment

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

This makes sense to me. I'd love to revisit the name for this if we have a plan what it's gonna look like in the product but that is a future-us issue!

@mydea mydea force-pushed the fn/startSpan-transaction branch from 001b0a1 to 5a745cb Compare February 21, 2024 08:22
@mydea mydea changed the title feat(core): Allow to pass isTransaction to startSpan() APIs feat(core): Allow to pass forceTransaction to startSpan() APIs Feb 21, 2024
@mydea mydea force-pushed the fn/startSpan-transaction branch from 5a745cb to d809c05 Compare February 21, 2024 15:44
@mydea mydea marked this pull request as ready for review February 21, 2024 15:44
@mydea mydea requested review from AbhiPrasad, Lms24 and s1gr1d February 21, 2024 15:44
@mydea mydea force-pushed the fn/startSpan-transaction branch 2 times, most recently from ea23bed to 569def4 Compare February 26, 2024 11:16
@mydea mydea force-pushed the fn/startSpan-transaction branch from 569def4 to 8bfa2b1 Compare February 26, 2024 11:54
@mydea mydea merged commit 372e405 into develop Feb 26, 2024
@mydea mydea deleted the fn/startSpan-transaction branch February 26, 2024 12:13
mydea added a commit that referenced this pull request Feb 27, 2024
…ackport) (#10819)

This will ensure a span is sent as a transaction to Sentry.

This only implements this option for the core implementation, not yet
for OTEL - that is a follow up here:
#10807

This is a backport to v7 of
#10749
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.

3 participants