Title: [Tracking Issue] Improve Bun Support · Issue #19707 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Tracking Issue] Improve Bun Support · Issue #19707 · getsentry/sentry-javascript
X Title: [Tracking Issue] Improve Bun Support · Issue #19707 · getsentry/sentry-javascript
Description: The Bun runtime is getting used more and more and the JavaScript SDKs should support this ongoing trend. This issue is a tracking issue that shows current missing features with the Bun runtime. Missing auto-instrumentation (because modul...
Open Graph Description: The Bun runtime is getting used more and more and the JavaScript SDKs should support this ongoing trend. This issue is a tracking issue that shows current missing features with the Bun runtime. Mis...
X Description: The Bun runtime is getting used more and more and the JavaScript SDKs should support this ongoing trend. This issue is a tracking issue that shows current missing features with the Bun runtime. Mis...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/19707
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Tracking Issue] Improve Bun Support","articleBody":"The Bun runtime is [getting used more and more](https://www.npmcharts.com/compare/bun) and the JavaScript SDKs should support this ongoing trend. This issue is a tracking issue that shows current missing features with the Bun runtime. \n\n### Missing auto-instrumentation (because `module.register` is not supported in Bun)\n\nIn general, a lot of missing auto-instrumentation is based on the missing support for `module.register` in Bun ([Bun docs](https://bun.com/docs/runtime/nodejs-compat#nodemodule)). Auto-instrumentation of ES Modules in OpenTelemetry is based on `import-in-the-middle` which calls `module.register`.\n\nA real fix would require either (a) Bun improving `module.register()` + ESM namespace mutability support, or (b) the SDK implementing a Bun-specific loader (e.g., using Bun's native [plugin API](https://bun.com/docs/runtime/plugins)) to intercept imports before they are bound.\n\n### Missing HTTP spans\n\nThe HTTP spans are created based on what diagnostic channels publish. Bun supports diagnostics channels but does not yet publish the necessary notifications. There is an open PR for that in Bun: https://github.com/oven-sh/bun/pull/24375\n\n","author":{"url":"https://github.com/s1gr1d","@type":"Person","name":"s1gr1d"},"datePublished":"2026-03-09T10:05:00Z","url":"https://github.com/getsentry/sentry-javascript/issues/19707"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:17cb16ef-9bae-4341-f53b-d4170661fe49 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEEE:3709ED:34332F:493369:6B040CFA |
| html-safe-nonce | 49c2295bcc7c4ea0fd8f93cf1b92095835bfb38ea3d65ea2e7100ad3b5ed06d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUVFOjM3MDlFRDozNDMzMkY6NDkzMzY5OjZCMDQwQ0ZBIiwidmlzaXRvcl9pZCI6IjIyOTgyOTc5MDQ1MjEyODQ4NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 26dc5f61c61c851f0606c14f66a5f56f7f719ea52c1d57c8b9d0909be5632041 |
| hovercard-subject-tag | issue:4044628622 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/19707/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6fdd7f348e8d9c269ef084df2e005ed757539b264dc13e7775db210faf95d4ee/getsentry/sentry-javascript/issues/19707 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6fdd7f348e8d9c269ef084df2e005ed757539b264dc13e7775db210faf95d4ee/getsentry/sentry-javascript/issues/19707 |
| og:image:alt | The Bun runtime is getting used more and more and the JavaScript SDKs should support this ongoing trend. This issue is a tracking issue that shows current missing features with the Bun runtime. Mis... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | s1gr1d |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width