Skip to content

feat: Add Sentry SDK for client-side error monitoring#205

Draft
cleptric wants to merge 3 commits intomainfrom
feat/add-sentry-sdk
Draft

feat: Add Sentry SDK for client-side error monitoring#205
cleptric wants to merge 3 commits intomainfrom
feat/add-sentry-sdk

Conversation

@cleptric
Copy link
Member

Add @sentry/astro integration to capture client-side errors and
performance traces in production.

The Sentry integration is conditionally loaded only when NODE_ENV is
production, keeping local development unaffected. Client-side
initialization in sentry.client.config.ts additionally gates on the
PUBLIC_SENTRY_DSN environment variable being set, so the SDK is
effectively a no-op without configuration.

Sourcemap uploads are disabled since the site is statically generated
and we don't need server-side instrumentation.

Integrate @sentry/astro to capture client-side errors and traces in
production. The integration is conditionally loaded based on the
NODE_ENV and requires a PUBLIC_SENTRY_DSN environment variable.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 19, 2026

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

Project Deployment Actions Updated (UTC)
sentry-engineering Ready Ready Preview, Comment Feb 19, 2026 0:58am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments