Skip to content

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

Open
mydea wants to merge 2 commits into
developfrom
fn/no-otel-core-hrtime
Open

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

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented May 27, 2026

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.

@mydea mydea self-assigned this May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.27 kB - -
@sentry/browser - with treeshaking flags 25.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 flags 74.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/react 29.01 kB - -
@sentry/react (incl. Tracing) 47.5 kB - -
@sentry/vue 32.19 kB - -
@sentry/vue (incl. Tracing) 47.13 kB - -
@sentry/svelte 27.3 kB - -
CDN Bundle 29.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 - uncompressed 87.69 kB - -
CDN Bundle (incl. Tracing) - uncompressed 144.18 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 92.18 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 147.94 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 216.91 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 262.96 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.7 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 276.66 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 280.39 kB - -
@sentry/nextjs (client) 49.99 kB - -
@sentry/sveltekit (client) 45.75 kB - -
@sentry/core/server 76.44 kB - -
@sentry/core/browser 63.19 kB - -
@sentry/node-core 62.54 kB - -
@sentry/node 130.97 kB -0.07% -85 B 🔽
@sentry/node - without tracing 74.94 kB -0.05% -31 B 🔽
@sentry/aws-serverless 87.17 kB -0.04% -31 B 🔽
@sentry/cloudflare (withSentry) - minified 173.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
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.

1 participant