docs: Add a common ground for SDKs and their env variables handling#16326
Merged
docs: Add a common ground for SDKs and their env variables handling#16326
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
cleptric
reviewed
Feb 10, 2026
Member
There was a problem hiding this comment.
Let's put this into develop, not the customer docs.
Member
Client-side paragraph sounds correct to me, thanks! |
Lms24
approved these changes
Feb 10, 2026
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
JPeer264
added a commit
to getsentry/sentry-javascript
that referenced
this pull request
Feb 10, 2026
It was not possible to use env variables for the Cloudflare SDK. This adds a subset of env variables to enable certain features just with env variables (not everything is yet supported - we should wait what gets supported once [that PR lands](getsentry/sentry-docs#16326)). This PR is important for #19215.
coolguyzone
approved these changes
Feb 10, 2026
Contributor
coolguyzone
left a comment
There was a problem hiding this comment.
LGTM! Thanks for adding 🏄♂️
cleptric
approved these changes
Feb 11, 2026
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
This adds a common understanding of which environment variables should be available across all SDKs (origin of the idea: getsentry/rfcs#121). I added couple of SDKs with a tiny example, so we don't show just one
There are still options missing, which could be added in the future (or now if we are already sure it is a good idea to add now):
SENTRY_BREADCRUMBS_LOGS_ENABLEDSENTRY_TRACE_MISSING_ROUTES_ENABLEDFollowing was taken as example: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
(added @Lms24 because of the client-side specifics)
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
EXTRA RESOURCES