Skip to content

feat(core): Add sentry.trace_lifecycle attribute#21850

Draft
Lms24 wants to merge 1 commit into
lms/ref-deps-sentry-conventions-in-corefrom
lms/feat-core-add-sentry.trace_lifecycle
Draft

feat(core): Add sentry.trace_lifecycle attribute#21850
Lms24 wants to merge 1 commit into
lms/ref-deps-sentry-conventions-in-corefrom
lms/feat-core-add-sentry.trace_lifecycle

Conversation

@Lms24

@Lms24 Lms24 commented Jun 29, 2026

Copy link
Copy Markdown
Member

Adds a new attribute that allows us to clearly identify streamed spans in the product.

closes #21750

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.62 kB - -
@sentry/browser - with treeshaking flags 26.05 kB - -
@sentry/browser (incl. Tracing) 46.06 kB -0.03% -11 B 🔽
@sentry/browser (incl. Tracing + Span Streaming) 47.83 kB +0.03% +10 B 🔺
@sentry/browser (incl. Tracing, Profiling) 50.83 kB -0.01% -5 B 🔽
@sentry/browser (incl. Tracing, Replay) 85.29 kB -0.02% -16 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.91 kB -0.01% -5 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 89.98 kB -0.02% -15 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 102.64 kB -0.02% -20 B 🔽
@sentry/browser (incl. Feedback) 44.79 kB -0.01% -1 B 🔽
@sentry/browser (incl. sendFeedback) 32.41 kB -0.03% -9 B 🔽
@sentry/browser (incl. FeedbackAsync) 37.54 kB -0.03% -10 B 🔽
@sentry/browser (incl. Metrics) 28.68 kB +0.01% +1 B 🔺
@sentry/browser (incl. Logs) 28.93 kB +0.02% +3 B 🔺
@sentry/browser (incl. Metrics & Logs) 29.61 kB - -
@sentry/react 29.41 kB - -
@sentry/react (incl. Tracing) 48.37 kB -0.01% -4 B 🔽
@sentry/vue 32.85 kB - -
@sentry/vue (incl. Tracing) 47.93 kB -0.02% -7 B 🔽
@sentry/svelte 27.64 kB - -
CDN Bundle 30.02 kB - -
CDN Bundle (incl. Tracing) 48.04 kB +0.05% +23 B 🔺
CDN Bundle (incl. Logs, Metrics) 31.58 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.38 kB +0.07% +30 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 70.79 kB - -
CDN Bundle (incl. Tracing, Replay) 85.53 kB +0.02% +14 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.8 kB +0.02% +10 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 91.34 kB +0.03% +19 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.59 kB +0.04% +30 B 🔺
CDN Bundle - uncompressed 89.42 kB - -
CDN Bundle (incl. Tracing) - uncompressed 145.38 kB +0.03% +32 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.12 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 149.35 kB +0.03% +32 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.66 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 264.39 kB +0.02% +32 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 268.35 kB +0.02% +32 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 278.09 kB +0.02% +32 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.04 kB +0.02% +32 B 🔺
@sentry/nextjs (client) 50.76 kB -0.02% -6 B 🔽
@sentry/sveltekit (client) 46.45 kB -0.03% -10 B 🔽
@sentry/core/server 77.78 kB +0.04% +29 B 🔺
@sentry/core/browser 64.08 kB +0.04% +25 B 🔺
@sentry/node-core 61.5 kB +0.05% +30 B 🔺
@sentry/node 122.85 kB +0.05% +54 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.95 kB - -
@sentry/node/light 50.47 kB +0.06% +26 B 🔺
@sentry/node - without tracing 73.26 kB +0.09% +60 B 🔺
@sentry/aws-serverless 84.16 kB +0.09% +74 B 🔺
⛔️ @sentry/cloudflare (withSentry) - minified (max: 184.32 kB) 404.39 kB +123.89% +223.77 kB 🔺
⛔️ @sentry/cloudflare (withSentry) (max: 460.8 kB) 698.91 kB +56.38% +251.97 kB 🔺

View base workflow run

@Lms24 Lms24 self-assigned this Jun 29, 2026
@Lms24 Lms24 force-pushed the lms/feat-core-add-sentry.trace_lifecycle branch from 368a37d to 3b0ecbd Compare June 30, 2026 08:12
@Lms24 Lms24 force-pushed the lms/feat-core-add-sentry.trace_lifecycle branch from 3b0ecbd to b548cc4 Compare June 30, 2026 08:45
@Lms24 Lms24 changed the base branch from develop to lms/ref-deps-sentry-conventions-in-core June 30, 2026 08:45
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.

Set sentry.trace_lifecycle attribute on streamed spans

1 participant