OpenTelemetry Protocol (OTLP)

Learn how to send OpenTelemetry trace data directly to Sentry from OpenTelemetry SDKs.

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:

ScenarioSolution
Sentry frontend + OTel backendUse propagateTraceparent to link frontend traces with OTLP instrumented backend services
Sentry SDK + OTel in the same serviceUse the OTLP Integration to share trace context between Sentry and OTel
OTel backend, no Sentry SDKSend 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").