docs: Add Winston and Pino logging integrations to common logs page#17652
Open
sentry-junior[bot] wants to merge 1 commit intomasterfrom
Open
docs: Add Winston and Pino logging integrations to common logs page#17652sentry-junior[bot] wants to merge 1 commit intomasterfrom
sentry-junior[bot] wants to merge 1 commit intomasterfrom
Conversation
The Winston (createSentryWinstonTransport) and Pino (pinoIntegration) logging integrations are available in all Node.js-based SDKs but were only documented on the Next.js-specific logs page. This adds them to the common logs page so they appear for Node.js and all other server-side JS guides. Wrapped in PlatformSection to only show for supported Node.js-based platforms.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
The Winston and Pino logging library integrations are supported in all Node.js-based SDKs (
@sentry/node,@sentry/aws-serverless,@sentry/bun, etc.) viacreateSentryWinstonTransportandpinoIntegrationrespectively.Currently, these integrations are only documented on the Next.js logs page but are missing from the common logs page used by Node.js and other server-side JS guides.
This PR adds a Logging Library Integrations section to the common logs page with Winston and Pino subsections, wrapped in a
PlatformSectionso they only appear for supported Node.js-based platforms.Evidence from SDK source:
createSentryWinstonTransportis defined inpackages/node-core/src/integrations/winston.tsand re-exported frompackages/node/src/index.tspinoIntegrationalready has a standalone integration docs page atdocs/platforms/javascript/common/configuration/integrations/pino.mdxbut was not referenced from the common logs pageIS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST