Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Support for Bun JS Runtime #9042

Closed
10 tasks done
AbhiPrasad opened this issue Sep 18, 2023 · 5 comments
Closed
10 tasks done

Initial Support for Bun JS Runtime #9042

AbhiPrasad opened this issue Sep 18, 2023 · 5 comments
Assignees

Comments

@AbhiPrasad
Copy link
Member

AbhiPrasad commented Sep 18, 2023

Update! With https://github.com/getsentry/sentry-javascript/releases/tag/7.70.0 we've shipped a beta version of @sentry/bun, our official Sentry SDK for the Bun JavaScript runtime.

bun add @sentry/bun

This is still in beta, but we plan to keep adding features to it! Please note some of the unhandled exception error monitoring is blocked by oven-sh/bun#5091, but the Bun team seems to be actively working on it!

ref #5611
ref #7979

Phase 1

  1. HazAT
  2. AbhiPrasad
  3. AbhiPrasad
  4. AbhiPrasad

Phase 2

  1. AbhiPrasad
  2. AbhiPrasad
  3. AbhiPrasad
@AbhiPrasad AbhiPrasad self-assigned this Sep 18, 2023
@AbhiPrasad
Copy link
Member Author

partly dependent on oven-sh/bun#5091

@AbhiPrasad
Copy link
Member Author

@AbhiPrasad
Copy link
Member Author

For now we test against latest Bun version. When the global error events are added by bun we can test against a matrix in CI.

@rodrigoehlers
Copy link

Is there an overview of what features this supports and which ones it doesn't? We have a bun api using ElysiaJS and would like to time a few transactions. Since there is not full support yet we're not trying to use this as a plugin/middleware but instead do manual transactions. Would this work?

@AbhiPrasad
Copy link
Member Author

Since there is not full support yet we're not trying to use this as a plugin/middleware but instead do manual transactions. Would this work?

Yes for sure! You can take some inspiration from our Bun.serve instrumentation.

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

No branches or pull requests

2 participants