Skip to content

Conversation

@KyleTryon
Copy link
Contributor

This pull request updates the Sentry integration documentation for frontend applications to improve clarity and remove unnecessary code comments. The most important changes are:

Documentation clarity improvements:

  • Updated the instructions to install the Sentry React SDK to use the more general term "package manager" instead of specifically "NPM" in docs/product/sentry-basics/integrate-frontend/initialize-sentry-sdk.mdx.

Code cleanup:

  • Removed an unused code comment include for trace sample rate configuration from the Sentry initialization code example in docs/product/sentry-basics/integrate-frontend/initialize-sentry-sdk.mdx.

…ackage manager reference and remove unnecessary whitespace.
@vercel
Copy link

vercel bot commented Nov 24, 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 24, 2025 4:09pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
develop-docs Ignored Ignored Nov 24, 2025 4:09pm

Copy link
Contributor

@jaffrepaul jaffrepaul left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@KyleTryon KyleTryon merged commit 9e8e0d9 into master Nov 24, 2025
14 checks passed
@KyleTryon KyleTryon deleted the docs/fix-example branch November 24, 2025 16:14
// https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
${<Include name="code-comments/javascript/trace-sample-rate" />}
Copy link
Member

Choose a reason for hiding this comment

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

i think we should still have traceSampleRate: 1 in here, it just seems like code-comments isn't something we have anymore 😅

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah yes. I misunderstood what was happening here 😅 having tracing present is def something we should include.

@codecov
Copy link

codecov bot commented Nov 24, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 13.21MB -9 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 10.18MB -6 bytes (-0.0%) ⬇️

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%
server/middleware-*.js 6.46kB 7.46kB 645.5% ⚠️
server/middleware-*.js -6.46kB 1.0kB -86.59%
static/L531iOaYrsOLkcFdi5KVM/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/L531iOaYrsOLkcFdi5KVM/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/57w3yfrThYxlQoaTz25WI/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/57w3yfrThYxlQoaTz25WI/_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%

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.

4 participants