Skip to content

WIP feat(opentelemetry): Add SentryTraceProvider#21181

Draft
andreiborza wants to merge 5 commits into
developfrom
ab/sentry-tracer-provider
Draft

WIP feat(opentelemetry): Add SentryTraceProvider#21181
andreiborza wants to merge 5 commits into
developfrom
ab/sentry-tracer-provider

Conversation

@andreiborza
Copy link
Copy Markdown
Member

WIP

Copy link
Copy Markdown

@cursor cursor Bot left a comment

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 0f2020a. Configure here.

Comment thread packages/opentelemetry/src/sentryTraceProvider.ts
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.32 kB - -
@sentry/browser - with treeshaking flags 25.74 kB - -
@sentry/browser (incl. Tracing) 45.57 kB +0.56% +252 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 47.8 kB +0.53% +252 B 🔺
@sentry/browser (incl. Tracing, Profiling) 50.54 kB +0.49% +245 B 🔺
@sentry/browser (incl. Tracing, Replay) 85.19 kB +0.32% +268 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.69 kB +0.35% +259 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 89.89 kB +0.29% +257 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 102.49 kB +0.24% +242 B 🔺
@sentry/browser (incl. Feedback) 44.51 kB - -
@sentry/browser (incl. sendFeedback) 32.13 kB - -
@sentry/browser (incl. FeedbackAsync) 37.25 kB - -
@sentry/browser (incl. Metrics) 28.41 kB - -
@sentry/browser (incl. Logs) 28.64 kB - -
@sentry/browser (incl. Metrics & Logs) 29.33 kB - -
@sentry/react 29.05 kB - -
@sentry/react (incl. Tracing) 47.78 kB +0.49% +230 B 🔺
@sentry/vue 32.52 kB +0.85% +274 B 🔺
@sentry/vue (incl. Tracing) 47.43 kB +0.54% +253 B 🔺
@sentry/svelte 27.35 kB - -
CDN Bundle 29.74 kB +0.06% +16 B 🔺
CDN Bundle (incl. Tracing) 48.09 kB +0.53% +250 B 🔺
CDN Bundle (incl. Logs, Metrics) 31.23 kB +0.07% +19 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) 49.35 kB +0.52% +254 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 70.56 kB +0.05% +31 B 🔺
CDN Bundle (incl. Tracing, Replay) 85.58 kB +0.29% +243 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.75 kB +0.3% +256 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 91.45 kB +0.28% +249 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.6 kB +0.25% +224 B 🔺
CDN Bundle - uncompressed 87.88 kB +0.09% +75 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 145.23 kB +0.66% +940 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 92.37 kB +0.09% +75 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 148.99 kB +0.64% +940 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 217.09 kB +0.04% +75 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 264.01 kB +0.36% +940 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 267.75 kB +0.36% +940 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 277.71 kB +0.34% +940 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 281.44 kB +0.34% +940 B 🔺
@sentry/nextjs (client) 50.32 kB +0.58% +287 B 🔺
@sentry/sveltekit (client) 46.03 kB +0.51% +233 B 🔺
@sentry/core/server 76.63 kB +0.21% +153 B 🔺
@sentry/core/browser 63.37 kB +0.23% +142 B 🔺
@sentry/node-core 63.01 kB +0.69% +426 B 🔺
@sentry/node 132.69 kB +1.22% +1.59 kB 🔺
@sentry/node - without tracing 76.45 kB +1.91% +1.43 kB 🔺
@sentry/aws-serverless 88.86 kB +1.86% +1.62 kB 🔺
@sentry/cloudflare (withSentry) - minified 174.61 kB +0.64% +1.09 kB 🔺
@sentry/cloudflare (withSentry) 436.25 kB +0.64% +2.73 kB 🔺

View base workflow run

@andreiborza andreiborza force-pushed the ab/sentry-tracer-provider branch from 0f2020a to 71e7c69 Compare May 27, 2026 05:27
*/
public recordException(_exception: unknown, _time?: number | undefined): void {
// noop
public recordException(exception: unknown, time?: SpanTimeInput | undefined): void {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can leave this as noop, we do not care about this and do not really support it, doing nothing with events etc.

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