OpenTelemetry Protocol (OTLP)
Learn how to send OpenTelemetry trace data directly to Sentry from OpenTelemetry SDKs.
This feature is currently in open beta. Please reach out to feedback-tracing@sentry.io if you have feedback or questions. Features in beta are still in-progress and may have bugs. We recognize the irony.
Sentry can ingest OTel traces and logs directly via the OpenTelemetry Protocol (OTLP). Sentry does not support ingesting OTLP metrics.
Sentry supports OTel in several ways, depending on your setup:
| Scenario | Solution |
|---|---|
| Sentry frontend + OTel backend | Use propagateTraceparent to link frontend traces with OTLP instrumented backend services |
| Sentry SDK + OTel in the same service | Use the OTLP Integration to share trace context between Sentry and OTel |
| OTel backend, no Sentry SDK | Send OTLP traces and logs directly to Sentry via environment variables or collector config |
View the OTel Collector Guides to learn how to leverage the OTel Collector to send traces and logs to Sentry from different sources like Kafka or Nginx.
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").