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.

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.
- Log in to your Sentry account ↗︎.
- Go to Insights > Projects.
- Select New Project ↗︎.
- 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.
Configure a traces destination
- Select Add destination.
- Configure the destination:
- Destination name:
sentry-traces - Destination type: Traces
- OTLP endpoint: Your Sentry OTLP traces endpoint
- Custom header name:
x-sentry-auth - Custom header value:
sentry sentry_key=<SENTRY_PUBLIC_KEY> - Select Save.
Configure a logs destination
- Select Add destination.
- Configure the destination:
- Destination name:
sentry-logs - Destination type: Logs
- OTLP endpoint: Your Sentry OTLP logs endpoint
- Custom header name:
x-sentry-auth - Custom header value:
sentry sentry_key=<SENTRY_PUBLIC_KEY> - 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
{"@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
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.
