Skip to content

Conversation

@AbhiPrasad
Copy link
Member

Realized we never dogfooded logs in docs, let's give it a try.

@AbhiPrasad AbhiPrasad requested review from a team and chargome July 29, 2025 15:44
@AbhiPrasad AbhiPrasad self-assigned this Jul 29, 2025
@AbhiPrasad AbhiPrasad requested review from msonnb and removed request for a team July 29, 2025 15:44
@vercel
Copy link

vercel bot commented Jul 29, 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 Jul 29, 2025 4:01pm
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2025 4:01pm

debug: false,
environment: process.env.NODE_ENV === 'development' ? 'development' : undefined,
spotlight: process.env.NODE_ENV === 'development',
integrations: [Sentry.consoleLoggingIntegration()],
Copy link

Choose a reason for hiding this comment

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

Bug: Sentry Integration Override Issue

Explicitly setting integrations: [Sentry.consoleLoggingIntegration()] for Node.js and Edge runtimes overrides Sentry's default integrations. This removes essential server-side instrumentation and default functionality, such as HTTP tracing, database monitoring, error tracking, and performance monitoring, which is inconsistent with the client-side behavior that adds to existing integrations.

Locations (2)
Fix in Cursor Fix in Web

Copy link
Member Author

Choose a reason for hiding this comment

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

damn cursor just straight up lying

@codecov
Copy link

codecov bot commented Jul 29, 2025

Bundle Report

Changes will increase total bundle size by 11.56kB (0.05%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-edge-server-array-push 350.92kB 2.39kB (0.69%) ⬆️
sentry-docs-client-array-push 9.85MB 6.58kB (0.07%) ⬆️
sentry-docs-server-cjs 12.26MB 2.58kB (0.02%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-edge-server-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
edge-instrumentation.js 2.39kB 134.7kB 1.81%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js 2.96kB 882.68kB 0.34%
static/chunks/8321-*.js (New) 425.82kB 425.82kB 100.0% 🚀
static/chunks/main-*.js 30 bytes 2.17kB 1.4%
static/XZM9kVZf2eW9LScc4pyMq/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/XZM9kVZf2eW9LScc4pyMq/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/chunks/1831-*.js (Deleted) -422.23kB 0 bytes -100.0% 🗑️
static/QBgIC2jUUc8Tt7mPat75n/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/QBgIC2jUUc8Tt7mPat75n/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

Files in static/chunks/main-*.js:

  • ./src/instrumentation-client.ts → Total Size: 2.06kB
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.75MB -0.0%
../instrumentation.js 56 bytes 1.08MB 0.01%
9523.js -3 bytes 1.05MB -0.0%
../app/[[...path]]/page.js.nft.json 845 bytes 731.62kB 0.12%
../app/platform-redirect/page.js.nft.json 845 bytes 731.53kB 0.12%
../app/sitemap.xml/route.js.nft.json 845 bytes 729.0kB 0.12%

Files in ../instrumentation.js:

  • ./src/instrumentation.ts → Total Size: 1.68kB

@AbhiPrasad AbhiPrasad merged commit cf4cb35 into master Jul 30, 2025
15 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-logs-in-docs branch July 30, 2025 13:45
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2025
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