Skip to content

ref(node): Refactor usage of hrTime utilities from @opentelemetry/core - #21191

Merged
mydea merged 2 commits into
developfrom
fn/no-otel-core-hrtime
May 29, 2026
Merged

ref(node): Refactor usage of hrTime utilities from @opentelemetry/core#21191
mydea merged 2 commits into
developfrom
fn/no-otel-core-hrtime

Conversation

@mydea

@mydeamydea commented May 27, 2026

Copy link
Copy Markdown
Member

These can easily be rewritten to use our existing utils, actually making things easier often (because it often creates hrTime just to convert it to a number, we can skip this step...).

Also removes the core dependency from nestjs package, as this is not actually used there.

Also adjusts the vendor-otel skill to be explicit about it being ok to change vendored code afterwards.

@mydeamydea self-assigned this May 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.27 kB--
@sentry/browser - with treeshaking flags25.69 kB--
@sentry/browser (incl. Tracing)45.27 kB--
@sentry/browser (incl. Tracing + Span Streaming)47.51 kB--
@sentry/browser (incl. Tracing, Profiling)50.25 kB--
@sentry/browser (incl. Tracing, Replay)84.87 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags74.38 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)89.59 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)102.2 kB--
@sentry/browser (incl. Feedback)44.46 kB--
@sentry/browser (incl. sendFeedback)32.09 kB--
@sentry/browser (incl. FeedbackAsync)37.21 kB--
@sentry/browser (incl. Metrics)28.37 kB--
@sentry/browser (incl. Logs)28.59 kB--
@sentry/browser (incl. Metrics & Logs)29.29 kB--
@sentry/react29.01 kB--
@sentry/react (incl. Tracing)47.5 kB--
@sentry/vue32.19 kB--
@sentry/vue (incl. Tracing)47.13 kB--
@sentry/svelte27.3 kB--
CDN Bundle29.68 kB--
CDN Bundle (incl. Tracing)47.8 kB--
CDN Bundle (incl. Logs, Metrics)31.17 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.05 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.48 kB--
CDN Bundle (incl. Tracing, Replay)85.3 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)86.45 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.17 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)92.33 kB--
CDN Bundle - uncompressed87.69 kB--
CDN Bundle (incl. Tracing) - uncompressed144.18 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed92.18 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed147.94 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed216.91 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed262.96 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed266.7 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed276.66 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed280.39 kB--
@sentry/nextjs (client)49.99 kB--
@sentry/sveltekit (client)45.75 kB--
@sentry/core/server76.44 kB--
@sentry/core/browser63.19 kB--
@sentry/node-core62.54 kB--
@sentry/node130.97 kB-0.07%-85 B 🔽
@sentry/node - without tracing74.94 kB-0.05%-31 B 🔽
@sentry/aws-serverless87.17 kB-0.04%-31 B 🔽
@sentry/cloudflare (withSentry) - minified173.4 kB--
@sentry/cloudflare (withSentry)433.33 kB--

View base workflow run

@mydea
mydea marked this pull request as ready for review May 27, 2026 12:42

@andreiborzaandreiborza left a comment

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.

LGTM

@mydea
mydea merged commit 5df0161 into developMay 29, 2026
332 of 336 checks passed
@mydea
mydea deleted the fn/no-otel-core-hrtime branch May 29, 2026 06:50
Sign up for freeto 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

@mydea@nicohrubec@andreiborza