Skip to content

docs(elysia): Add @sentry/elysia SDK documentation#17107

Open
logaretm wants to merge 5 commits intomasterfrom
awad/elysia-sdk
Open

docs(elysia): Add @sentry/elysia SDK documentation#17107
logaretm wants to merge 5 commits intomasterfrom
awad/elysia-sdk

Conversation

@logaretm
Copy link
Copy Markdown
Member

@logaretm logaretm commented Mar 24, 2026

DESCRIBE YOUR PR

Add getting started documentation for the new @sentry/elysia package, a Sentry SDK for the Elysia web framework.

  • New guide at docs/platforms/javascript/guides/elysia/ covering Bun and Node.js runtimes
  • Error capturing, automatic lifecycle tracing, distributed tracing, and manual spans
  • Platform icon wiring in platformIcon.tsx

Blocked on

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

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

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

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Mar 27, 2026 7:44pm
sentry-docs Ready Ready Preview, Comment Mar 27, 2026 7:44pm

Request Review

@logaretm
Copy link
Copy Markdown
Member Author

Currently failing because of the icon, I already have a PR in flight that will resolve that.

logaretm and others added 3 commits March 27, 2026 13:12
Add getting started guide for the new @sentry/elysia package covering
Bun and Node.js runtimes, error capturing, automatic tracing, and
distributed trace propagation. Wire up the Elysia platform icon.

Refs getsentry/sentry-javascript#19509
Co-Authored-By: Claude <noreply@anthropic.com>
@logaretm logaretm marked this pull request as ready for review March 27, 2026 17:16
Copilot AI review requested due to automatic review settings March 27, 2026 17:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds initial documentation for the new @sentry/elysia JavaScript SDK and wires up the Elysia platform icon so the guide can appear alongside other JS frameworks.

Changes:

  • Adds a new Elysia getting-started guide covering Bun and Node.js runtimes.
  • Adds Elysia icons (small/large) and maps javascript-elysia to the new icon key.
  • Bumps platformicons to a version which includes the Elysia icon assets.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/components/platformIcon.tsx Imports Elysia SVGs and adds icon mappings for the new platform.
docs/platforms/javascript/guides/elysia/index.mdx New getting-started guide and feature overview for @sentry/elysia.
package.json Updates platformicons dependency to include Elysia assets.
pnpm-lock.yaml Lockfile updates corresponding to the platformicons bump.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

src/components/platformIcon.tsx:500

  • formatToSVG appears to be kept in alphabetical order by key in this file, but the new elysia entry is inserted before elixir. Please reorder the entries to keep the mapping sorted (helps scanability and reduces merge conflicts).
  electron: {
    sm: ElectronSVG,
    lg: ElectronSVGLarge,
  },
  elysia: {
    sm: ElysiaSVG,
    lg: ElysiaSVGLarge,
  },
  elixir: {
    sm: ElixirSVG,
    lg: ElixirSVGLarge,
  },

Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

- Use correct sentry.javascript.elysia SDK identifier instead of bun
- Fix inconsistent tab title casing (node → Node.js)
- Clarify shouldHandleError example to avoid double-wrap confusion
- Fix alphabetical ordering of elysia/elixir in icon map

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants