Skip to content

Conversation

@sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Nov 18, 2025

preview: https://develop-docs-git-neel-otlp-develop.sentry.dev/sdk/telemetry/traces/otlp/

resolves

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

@vercel
Copy link

vercel bot commented Nov 18, 2025

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

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Nov 20, 2025 1:39pm
sentry-docs Ready Ready Preview Comment Nov 20, 2025 1:39pm

@codecov
Copy link

codecov bot commented Nov 20, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 12.98MB 52.57kB (0.41%) ⬆️
sentry-docs-client-array-push 10.18MB 22 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

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 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/chunks/app/[[...path]]/page-*.js 28 bytes 98.85kB 0.03%
server/middleware-*.js -6.46kB 1.0kB -86.59%
server/middleware-*.js 6.46kB 7.46kB 645.5% ⚠️
static/1de1581-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/1de1581-*.js (New) 684 bytes 684 bytes 100.0% 🚀
static/Zs-*.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
static/Zs-*.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️

Files in static/chunks/app/[[...path]]/page-*.js:

  • ./src/components/codeTabs.tsx → Total Size: 6.52kB
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.74MB -0.0%
../instrumentation.js -3 bytes 1.07MB -0.0%
9523.js -3 bytes 1.04MB -0.0%
../app/[[...path]]/page.js.nft.json 17.52kB 885.29kB 2.02%
../app/platform-redirect/page.js.nft.json 17.52kB 885.2kB 2.02%
../app/sitemap.xml/route.js.nft.json 17.52kB 882.43kB 2.03%
../app/[[...path]]/page.js 27 bytes 625.66kB 0.0%

Files in ../app/[[...path]]/page.js:

  • ./src/components/codeTabs.tsx → Total Size: 444 bytes

  • ./src/components/codeTabs.tsx → Total Size: 5.69kB

App Routes Affected:

App Route Size Change Total Size Change (%)
/[[...path]] 27 bytes 3.37MB 0.0%

It MUST consist of and setup the following components:

* A `SpanExporter` that automatically configures the OTLP ingestion endpoint from the DSN
* A `Propagator` that ensures Distributed Tracing works with other upstream and downstream services using Sentry SDKs
Copy link
Member

Choose a reason for hiding this comment

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

Can we also specify this works by attaching a sentry-trace header, and NOT a traceparent header here?


### SpanExporter

IF `setup_otlp_exporter` is `True`, the integration MUST do the following:
Copy link
Member

Choose a reason for hiding this comment

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

should we make this name traces specific?

Because it might also make sense to have one for logs as well.

IF `setup_otlp_exporter` is `True`, the integration MUST do the following:

* Take the existing `TracerProvider` from OpenTelemetry if it exists, otherwise create a new one
* Construct the OTLP Traces `endpoint` from the DSN
Copy link
Member

Choose a reason for hiding this comment

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

Construct the OTLP Traces endpoint from the DSN

We should add docs for this.


* A `SpanProcessor` for processing and packaging the Spans that OpenTelemetry emits
* A `Propagator` that ensures Distributed Tracing works with other upstream and downstream services using Sentry SDKs
* A `Sampler` that works with Sentry's `traces_sample_rate` and `traces_sampler`
Copy link
Member

Choose a reason for hiding this comment

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

might be worth leaving an extra note about why we don't need a sampler for this setup anymore.

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.

3 participants