Export to Sentry

Last updated Oct 2, 2026 Sentry provides distributed tracing, logs, and application monitoring. Export Cloudflare telemetry to query data and create alerts or dashboards.

Sentry trace view with timing information displayed on a timeline

This guide configures Sentry to receive Cloudflare traces and logs.

Prerequisites

Before you begin, you need an active Sentry account ↗︎. You also need Cloudflare logs or traces to export.

1. Create a Sentry project

Skip this step if you already have a project.

  1. Log in to your Sentry account ↗︎.
  2. Go to Insights > Projects.
  3. Select New Project ↗︎.
  4. Complete the project form, then select Create Project.

2. Get your Sentry OTLP endpoints

Sentry provides separate OpenTelemetry Protocol (OTLP) endpoints for traces and logs:

  • Traces: https://<HOST>/api/<PROJECT_ID>/integration/otlp/v1/traces
  • Logs: https://<HOST>/api/<PROJECT_ID>/integration/otlp/v1/logs

  • In Sentry, go to Settings > Projects ↗︎.

  • Select your project.
  • Under SDK Setup, select Client Keys (DSN).
  • Copy the OTLP endpoints and authentication header.

For endpoint details, refer to Sentry OTLP documentation ↗︎.

3. Configure Cloudflare Observability destinations

In the Cloudflare dashboard, go to Observability > Destinations.

Go to OpenTelemetry ↗

Configure a traces destination

  1. Select Add destination.
  2. Configure the destination:
  3. Destination name: sentry-traces
  4. Destination type: Traces
  5. OTLP endpoint: Your Sentry OTLP traces endpoint
  6. Custom header name: x-sentry-auth
  7. Custom header value: sentry sentry_key=<SENTRY_PUBLIC_KEY>
  8. Select Save.

Configure a logs destination

  1. Select Add destination.
  2. Configure the destination:
  3. Destination name: sentry-logs
  4. Destination type: Logs
  5. OTLP endpoint: Your Sentry OTLP logs endpoint
  6. Custom header name: x-sentry-auth
  7. Custom header value: sentry sentry_key=<SENTRY_PUBLIC_KEY>
  8. Select Save.

4. Enable export

Creating a destination does not start exporting telemetry. To export Workers Logs or Workers Traces, configure OpenTelemetry export for your Worker. To export Cloudflare Traces, configure export for your domain.

Data may take several minutes to appear in Sentry.

Was this helpful?

YesNo

On this page

Export to Sentry - 图2Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/observability/export/opentelemetry/sentry/#page","headline":"Export to Sentry","description":"Send Cloudflare traces and logs to Sentry with OpenTelemetry.","url":"https://developers.cloudflare.com/observability/export/opentelemetry/sentry/","inLanguage":"en","image":"https://developers.cloudflare.com/observability/export/opentelemetry/sentry/og.png?v=247022c35dd41725","dateModified":"2026-10-02","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Understand Cloudflare Observability ingestion and storage pricing. title: Pricing image: https://developers.cloudflare.com/observability/pricing/og.png?v=6b4ce7ba6d5bba9b


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/observability/llms.txt
Use this file to discover all available pages before exploring further.