Skip to content

Conversation

@inventarSarah
Copy link
Collaborator

DESCRIBE YOUR PR

This branch contains the updated Bun Quick Start guide, following our template.

Closes: #15345

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

EXTRA RESOURCES

@vercel
Copy link

vercel bot commented Nov 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sentry-docs Ready Ready Preview Comment Nov 13, 2025 8:52am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
develop-docs Ignored Ignored Preview Nov 13, 2025 8:52am

@codecov
Copy link

codecov bot commented Nov 6, 2025

Bundle Report

Changes will decrease total bundle size by 3.22kB (-0.01%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 10.17MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.62MB -3.21kB (-0.03%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/kmlgq58TP8juC24sg4GZh/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/kmlgq58TP8juC24sg4GZh/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/ty6ub2lerJFxNqwFNjCnU/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/ty6ub2lerJFxNqwFNjCnU/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.74MB -0.0%
../instrumentation.js -3 bytes 1.07MB -0.0%
9523.js -3 bytes 1.04MB -0.0%
../app/[[...path]]/page.js.nft.json -1.07kB 768.52kB -0.14%
../app/platform-redirect/page.js.nft.json -1.07kB 768.43kB -0.14%
../app/sitemap.xml/route.js.nft.json -1.07kB 765.66kB -0.14%

Now's a good time to customize your setup and look into more advanced topics.
Our next recommended steps for you are:

- Extend Sentry to your frontend using one of our [frontend SDKs](/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just double-checking, this is meant to go to the docs homepage?

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Import `instrument.js` before any other modules to ensure Sentry initializes early. If you initialize later, auto-instrumentation and modules like database monitoring, agent monitoring, tracing may not work.

</Alert>
Import `instrument.js` before any other modules to make sure Sentry initializes early. If you initialize later, auto-instrumentation and modules like tracing may not work.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bun has the same problem as Node with ESM (in Node, we have the "Installation methods"). In bun we would need to --preload this instrumentation file to be loaded before everything else: https://bun.com/docs/runtime#param-preload

This is out of scope for this PR but I just want to mention that. We need to improve our docs to be less Node-focused and also include other runtimes such as Bun and Deno in the future.

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.

Create Bun Quick Start guide

4 participants