Skip to content

Conversation

@JPeer264
Copy link
Member

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):

  • Logs
  • Metrics
  • Tags
  • SENTRY_BREADCRUMBS_LOGS_ENABLED
  • SENTRY_TRACE_MISSING_ROUTES_ENABLED

Following 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.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

EXTRA RESOURCES

@JPeer264 JPeer264 requested review from a team, Lms24 and cleptric February 10, 2026 10:30
@JPeer264 JPeer264 self-assigned this Feb 10, 2026
@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Feb 10, 2026 4:49pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
sentry-docs Ignored Ignored Preview Feb 10, 2026 4:49pm

Request Review

Copy link
Member

Choose a reason for hiding this comment

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

Let's put this into develop, not the customer docs.

@Lms24
Copy link
Member

Lms24 commented Feb 10, 2026

added @Lms24 because of the client-side specifics

Client-side paragraph sounds correct to me, thanks!

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.
Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for adding 🏄‍♂️

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