# Your OTel spans, our errors: A Sentry love story in one trace

DevFeed: [Your OTel spans, our errors: A Sentry love story in one trace](<https://devfeed.tech/articles/your-otel-spans-our-errors-a-sentry-love-story-in-one-trace-24106.md>)

Original publisher: [Read original article](<https://blog.sentry.io/otel-spans-errors-sentry-trace/>)

Author: Johannes Daxböck; Neel Shah

Published: 2026-08-05T09:00:00Z

Content type: article

Language: en

Sources: [Sentry](<https://devfeed.tech/sources/sentry-blog.md>)

Topics: [tracing](<https://devfeed.tech/topics/tracing.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [error tracking](<https://devfeed.tech/topics/error-tracking.md>), [SDK](<https://devfeed.tech/topics/sdk.md>)

Tags: [compatibility](<https://devfeed.tech/tags/compatibility.md>), [context](<https://devfeed.tech/tags/context.md>), [context-propagation](<https://devfeed.tech/tags/context-propagation.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [error](<https://devfeed.tech/tags/error.md>), [errors](<https://devfeed.tech/tags/errors.md>), [event](<https://devfeed.tech/tags/event.md>), [go](<https://devfeed.tech/tags/go.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [java](<https://devfeed.tech/tags/java.md>), [logs](<https://devfeed.tech/tags/logs.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [net](<https://devfeed.tech/tags/net.md>), [otel](<https://devfeed.tech/tags/otel.md>), [otel-traces](<https://devfeed.tech/tags/otel-traces.md>), [sentry](<https://devfeed.tech/tags/sentry.md>), [setup](<https://devfeed.tech/tags/setup.md>), [spans](<https://devfeed.tech/tags/spans.md>), [trace](<https://devfeed.tech/tags/trace.md>), [traces](<https://devfeed.tech/tags/traces.md>)

## AI overview

The OtlpIntegration connects OTel spans sent to Sentry with Sentry events: it configures an OTLP exporter from the Sentry DSN, reads the active OTel trace context, and attaches it to Sentry errors, logs, and application metrics so the trace waterfall can link spans and errors. A standalone OTLP exporter alone does not create that connection because the OTel and Sentry SDKs otherwise manage separate contexts. The integration is described for Python, Ruby, Node.js, Go, PHP, .NET, and Java. It can also register a SentryPropagator for compatibility with Sentry-native tracing, but that automatic setup is slated to become a documented opt-in in the next major SDK versions. The excerpt begins comparing this approach with the prior POTel strategy but cuts off before explaining the new approach's differences.

## Source excerpt

The OtlpIntegration bridges OTel traces and Sentry errors. Keep your OTel setup, add Sentry for errors, and see both in one trace waterfall.