Skip to content

feat(angular)!: Use ui.mount and function span ops for tracing decorators - #22667

Merged
msonnb merged 2 commits into
developfrom
ms/js-3105-angular-ops
Jul 28, 2026
Merged

feat(angular)!: Use ui.mount and function span ops for tracing decorators#22667
msonnb merged 2 commits into
developfrom
ms/js-3105-angular-ops

Conversation

@msonnb

@msonnb msonnb commented Jul 27, 2026

Copy link
Copy Markdown
Member

TraceDirective and TraceClass now emit ui.mount instead of ui.angular.init. TraceMethod emits function instead of ui.angular.<methodName> — the suffix was user-controlled and unbounded — with the method name preserved in code.function.name.

Note ui.mount is not in the conventions registry yet (tracked as its own row in the first table of the issue), so it is a literal here with a TODO to swap in the constant once registered.

Part of #22446

@linear-code

linear-code Bot commented Jul 27, 2026

Copy link
Copy Markdown

JS-3105

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.85 kB - -
@sentry/browser - with treeshaking flags 28.05 kB - -
@sentry/browser (incl. Tracing) 47.42 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 47.43 kB - -
@sentry/browser (incl. Tracing, Profiling) 52.16 kB - -
@sentry/browser (incl. Tracing, Replay) 86.74 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 76.16 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 91.48 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 104.11 kB - -
@sentry/browser (incl. Feedback) 47.16 kB - -
@sentry/browser (incl. sendFeedback) 34.69 kB - -
@sentry/browser (incl. FeedbackAsync) 39.78 kB - -
@sentry/browser (incl. Metrics) 30.92 kB - -
@sentry/browser (incl. Logs) 31.14 kB - -
@sentry/browser (incl. Metrics & Logs) 31.83 kB - -
@sentry/react 31.64 kB - -
@sentry/react (incl. Tracing) 49.64 kB - -
@sentry/vue 34.77 kB - -
@sentry/vue (incl. Tracing) 49.37 kB - -
@sentry/svelte 29.88 kB - -
CDN Bundle 31.89 kB - -
CDN Bundle (incl. Tracing) 47.76 kB - -
CDN Bundle (incl. Logs, Metrics) 33.44 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.14 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 72.8 kB - -
CDN Bundle (incl. Tracing, Replay) 85.4 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.68 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.17 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.47 kB - -
CDN Bundle - uncompressed 95.12 kB - -
CDN Bundle (incl. Tracing) - uncompressed 143.26 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.83 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 147.25 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.6 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 262.52 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.49 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 276.23 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 280.18 kB - -
@sentry/nextjs (client) 52.23 kB - -
@sentry/sveltekit (client) 47.84 kB - -
@sentry/core/server 79.73 kB - -
@sentry/core/browser 51.61 kB - -
@sentry/node 122.35 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B - -
@sentry/node - without tracing 85.75 kB -0.01% -1 B 🔽
@sentry/aws-serverless 93.78 kB - -
@sentry/cloudflare (withSentry) - minified 197.24 kB - -
@sentry/cloudflare (withSentry) 485.21 kB - -

View base workflow run

@msonnb
msonnb force-pushed the ms/js-3105-gcp-grpc-op branch from a8f5b90 to 789a8ef Compare July 27, 2026 11:44
@msonnb
msonnb force-pushed the ms/js-3105-angular-ops branch from de8350a to 7ac0b5d Compare July 27, 2026 11:44
@msonnb
msonnb force-pushed the ms/js-3105-gcp-grpc-op branch from 789a8ef to 1d58df1 Compare July 27, 2026 12:10
@msonnb
msonnb force-pushed the ms/js-3105-angular-ops branch from 7ac0b5d to 6c7646e Compare July 27, 2026 12:10
@msonnb
msonnb changed the base branch from ms/js-3105-gcp-grpc-op to develop July 27, 2026 13:09
@msonnb
msonnb force-pushed the ms/js-3105-angular-ops branch from 6c7646e to 60666e6 Compare July 27, 2026 13:50
msonnb and others added 2 commits July 28, 2026 15:39
…corators

`TraceDirective`/`TraceClass` emit `ui.mount`; `TraceMethod` emits
`function` with the method name in `code.function.name`. The method-key
suffix was user-controlled and unbounded.

Ref: JS-3105

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@msonnb
msonnb force-pushed the ms/js-3105-angular-ops branch from 60666e6 to 9643fa2 Compare July 28, 2026 13:45
@msonnb
msonnb marked this pull request as ready for review July 28, 2026 14:03
@msonnb
msonnb requested a review from a team as a code owner July 28, 2026 14:03
@msonnb
msonnb requested review from nicohrubec and s1gr1d and removed request for a team July 28, 2026 14:03
@msonnb
msonnb merged commit a7c8b86 into develop Jul 28, 2026
49 checks passed
@msonnb
msonnb deleted the ms/js-3105-angular-ops branch July 28, 2026 14:33
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