Skip to content

fix(opentelemetry): Fall back to sentry.origin: manual when backfilling OTel data#22102

Merged
Lms24 merged 3 commits into
developfrom
lms/fix-opentelemetry-default-origin-manual
Jul 9, 2026
Merged

fix(opentelemetry): Fall back to sentry.origin: manual when backfilling OTel data#22102
Lms24 merged 3 commits into
developfrom
lms/fix-opentelemetry-default-origin-manual

Conversation

@Lms24

@Lms24 Lms24 commented Jul 8, 2026

Copy link
Copy Markdown
Member

Default sentry.origin to manual when backfilling streamed span data from OpenTelemetry.

Streamed spans created via the OTel TracerProvider path did not always carry a sentry.origin attribute after backfill. Transactions already get this default in SpanExporter, but streamed spans went through backfillStreamedSpanDataFromOtel without the same fallback. This aligns streamed spans with transaction behavior and with SentrySpan, which defaults origin to manual.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.59 kB - -
@sentry/browser - with treeshaking flags 26.03 kB - -
@sentry/browser (incl. Tracing) 46.34 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.13 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.12 kB - -
@sentry/browser (incl. Tracing, Replay) 85.62 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.26 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.32 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.97 kB - -
@sentry/browser (incl. Feedback) 44.76 kB - -
@sentry/browser (incl. sendFeedback) 32.38 kB - -
@sentry/browser (incl. FeedbackAsync) 37.51 kB - -
@sentry/browser (incl. Metrics) 28.67 kB - -
@sentry/browser (incl. Logs) 28.91 kB - -
@sentry/browser (incl. Metrics & Logs) 29.59 kB - -
@sentry/react 29.38 kB - -
@sentry/react (incl. Tracing) 48.61 kB - -
@sentry/vue 33.03 kB - -
@sentry/vue (incl. Tracing) 48.24 kB - -
@sentry/svelte 27.61 kB - -
CDN Bundle 30 kB - -
CDN Bundle (incl. Tracing) 48.32 kB - -
CDN Bundle (incl. Logs, Metrics) 31.57 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.64 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.81 kB - -
CDN Bundle (incl. Tracing, Replay) 85.84 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.14 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.64 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.92 kB - -
CDN Bundle - uncompressed 89.35 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.1 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.05 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.07 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.78 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.3 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.26 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.95 kB - -
@sentry/nextjs (client) 51.16 kB - -
@sentry/sveltekit (client) 46.75 kB - -
@sentry/core/server 78.42 kB - -
@sentry/core/browser 64.74 kB - -
@sentry/node-core 62.72 kB - -
@sentry/node 125.37 kB +0.01% +11 B 🔺
@sentry/node (incl. diagnostics channel injection) 135 kB -0.01% -7 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.95 kB - -
@sentry/node/light 50.72 kB - -
@sentry/node - without tracing 74.06 kB +0.01% +5 B 🔺
@sentry/aws-serverless 85.5 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 181.71 kB - -
@sentry/cloudflare (withSentry) 449.16 kB - -

View base workflow run

@Lms24 Lms24 self-assigned this Jul 9, 2026
@Lms24 Lms24 marked this pull request as ready for review July 9, 2026 06:10
@Lms24 Lms24 requested a review from a team as a code owner July 9, 2026 06:10
@Lms24 Lms24 requested review from JPeer264 and mydea and removed request for a team July 9, 2026 06:10
@Lms24 Lms24 enabled auto-merge (squash) July 9, 2026 06:10

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c46e811. Configure here.

@Lms24 Lms24 changed the title fix(opentelemetry): Fall back to 'sentry.origin': manual when backfilling OTel data fix(opentelemetry): Default streamed span origin to manual when backfilling OTel data Jul 9, 2026
@Lms24 Lms24 force-pushed the lms/fix-opentelemetry-default-origin-manual branch from 69eec48 to 7678d2d Compare July 9, 2026 08:39
@Lms24 Lms24 changed the title fix(opentelemetry): Default streamed span origin to manual when backfilling OTel data fix(opentelemetry): Fall back to sentry.origin: manual when backfilling OTel data Jul 9, 2026
@Lms24 Lms24 merged commit ea4b549 into develop Jul 9, 2026
541 of 551 checks passed
@Lms24 Lms24 deleted the lms/fix-opentelemetry-default-origin-manual branch July 9, 2026 09:01
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.

2 participants