Skip to content

Conversation

@rahulchhabria
Copy link
Contributor

A "Logs Beta" checkbox was implemented for Sentry SDK setup configurations across multiple platforms.

  • The src/components/onboarding/index.tsx file was updated to include 'logs-beta' in OPTION_IDS and optionDetails, providing a descriptive text for the new feature.
  • A new file, platform-includes/logs/setup/go.mdx, was created to define the Go SDK's logs setup.
  • Existing platform documentation files (e.g., docs/platforms/android/index.mdx, docs/platforms/dart/guides/flutter/index.mdx, docs/platforms/php/index.mdx, docs/platforms/python/index.mdx, docs/platforms/ruby/common/index.mdx, docs/platforms/go/guides/gin/index.mdx, docs/platforms/javascript/guides/react/index.mdx, docs/platforms/javascript/guides/nextjs/manual-setup.mdx) were modified. These updates added 'logs-beta' to their OnboardingOptionButtons and integrated SDK-specific log configuration snippets.
  • Configuration snippets were added to platform-includes/getting-started-config/java.mdx, platform-includes/getting-started-config/javascript.mdx, and platform-includes/getting-started-config/ruby.mdx.
  • The log setup code for each SDK was embedded using ___PRODUCT_OPTION_START___ logs-beta and ___PRODUCT_OPTION_END___ logs-beta markers, allowing the onboarding component to dynamically display the relevant configuration based on the checkbox selection.
  • This enables users to easily integrate logs into their applications via the Sentry onboarding flow for Java, Android, Flutter, PHP, Python, Ruby, Go, and all JavaScript SDKs.

@vercel
Copy link

vercel bot commented Jun 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 2:32pm
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 2:32pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Jun 10, 2025 2:32pm

@codeowner-assignment codeowner-assignment bot requested review from a team June 9, 2025 16:29
@codecov
Copy link

codecov bot commented Jun 9, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.85MB -11.6kB (-0.11%) ⬇️
sentry-docs-client-array-push 9.77MB 208 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -4.21kB 1.62MB -0.26%
../instrumentation.js -4.21kB 953.24kB -0.44%
9523.js -4.21kB 929.29kB -0.45%
../app/[[...path]]/page.js 199 bytes 586.7kB 0.03%
../app/[[...path]]/page.js.nft.json 282 bytes 399.88kB 0.07%
../app/platform-redirect/page.js.nft.json 282 bytes 399.8kB 0.07%
../app/sitemap.xml/route.js.nft.json 282 bytes 397.77kB 0.07%
9273.js -3 bytes 83.1kB -0.0%
../app/platform-redirect/page.js -3 bytes 31.35kB -0.01%
9567.js -3 bytes 18.65kB -0.02%

Files in ../app/platform-redirect/page.js:

  • ./app/platform-redirect/utils.ts → Total Size: 932 bytes

App Routes Affected:

App Route Size Change Total Size Change (%)
/platform-redirect -3 bytes 2.58MB -0.0%
/[[...path]] 199 bytes 3.13MB 0.01%
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 873.24kB -0.0%
static/chunks/7750-*.js -3 bytes 401.83kB -0.0%
static/chunks/app/[[...path]]/page-*.js 214 bytes 80.47kB 0.27%
server/middleware-*.js -5.55kB 1.0kB -84.74%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
static/L0QnttV3GkSEZOrFiD_GC/_buildManifest.js (New) 616 bytes 616 bytes 100.0% 🚀
static/L0QnttV3GkSEZOrFiD_GC/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/_JO8KwStScyId4M36-*.js (Deleted) -616 bytes 0 bytes -100.0% 🗑️
static/_JO8KwStScyId4M36-*.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

cursoragent and others added 10 commits June 10, 2025 02:34
…/github.com/getsentry/sentry-docs into cursor/add-logs-beta-checkbox-for-sdks-73b7

* 'cursor/add-logs-beta-checkbox-for-sdks-73b7' of https://github.com/getsentry/sentry-docs:
  Add documentation for AI features in Sentry
  Update Next.js docs with features overview and manual setup instructions
  Add logs beta option to JavaScript framework manual setup guides
  Add comprehensive JavaScript logs beta implementation status documentation
  Chore: Update dependencies and remove unused catch error variables
  Add logs beta support across JavaScript platform documentation
  Update Logs Beta option name with parentheses
  Add logs beta configuration to JavaScript platform documentation
  Add logs beta configuration across multiple platforms and SDKs
  Add logs beta option to SDK onboarding across multiple platforms
@codyde
Copy link
Contributor

codyde commented Jun 10, 2025

Rebased off master to hopefully fix your 404 issues @rahulchhabria - will check back in the AM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants