<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1" -->

---
title: Connecting Cloudflare and Honeybadger with OpenTelemetry
description: Cloudflare Workers logs can be shipped straight into Honeybadger Insights using OpenTelemetry's OTLP log protocol. The guide builds a test app with RedwoodSDK,...
canonical: https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Connecting Cloudflare and Honeybadger with OpenTelemetry | daily.dev
og:description: Cloudflare Workers logs can be shipped straight into Honeybadger Insights using OpenTelemetry's OTLP log protocol. The guide builds a test app with RedwoodSDK,...
og:url: https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1
og:image: https://api.daily.dev/og/posts/xA29as3x1.png
og:image:alt: Connecting Cloudflare and Honeybadger with OpenTelemetry
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting Cloudflare and Honeybadger with OpenTelemetry

**[Honeybadger](https://daily.dev/sources/honeybadger)** · 6 min read · 0 upvotes · 0 comments

## Summary

Cloudflare Workers logs can be shipped straight into Honeybadger Insights using OpenTelemetry's OTLP log protocol. The guide builds a test app with RedwoodSDK, deploys it to Cloudflare, and sets up a log destination pointing to `https://api.honeybadger.io/v1/logs`. A custom header named exactly `X-API-Key` carries the Honeybadger API key, or Honeybadger rejects the logs. The pipeline is verified by logging 'Hello world!' from a `/hello` route and checking that it is recorded in Cloudflare, then appears in Insights. Insights stores everything as 'wide events' instead of separate logs and traces, while Cloudflare's own observability page splits data between logs and traces and has a fragmented query builder.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.honeybadger.io/blog/cloudflare-honeybadger-otel>

## Questions this post answers

### How do I send Cloudflare Workers logs to Honeybadger using OpenTelemetry?

Create a log destination in Cloudflare's Observability settings pointing to the OTLP logs endpoint `https://api.honeybadger.io/v1/logs`, then add a custom header named exactly `X-API-Key` with your Honeybadger project API key as the value. Cloudflare runs an internal check when you save, and logs including `console.log()` output and uncaught exceptions will start flowing into Honeybadger Insights within a few minutes.

_daily.dev surfaces setup guides like this for developers wiring observability into Cloudflare Workers._

### What header name does Honeybadger require for OTLP log ingestion from Cloudflare?

The custom header must be named exactly `X-API-Key`, with the value set to your Honeybadger project's API key. If the header name isn't exact, Honeybadger will reject the incoming logs even though Cloudflare's destination check may still pass.

_Developers debugging silent log ingestion failures rely on precise setup details like this via daily.dev._

### How does Honeybadger Insights differ from Cloudflare's built-in observability page?

Honeybadger Insights uses 'wide events', bundling properties like user behavior, business intelligence, system logs and Cloudflare Workers logs into single records, rather than splitting data between logs and traces as Cloudflare's own observability page does. Insights also adds a more powerful query system, natural language search, easy visualization generation, and configurable alarms, which Cloudflare's fragmented query builder lacks for saving repeat visualizations.

_Teams comparing observability tooling for Cloudflare Workers can track such trade-offs on daily.dev._

## Similar posts on daily.dev

- [Send OpenTelemetry traces and logs from Cloudflare Workers to Grafana Cloud](https://daily.dev/posts/send-opentelemetry-traces-and-logs-from-cloudflare-workers-to-grafana-cloud-nh2kbntzf) · Grafana Labs · 1 upvotes · 0 comments
- [8 major updates to Cloudflare Observability](https://daily.dev/posts/8-major-updates-to-cloudflare-observability-5sqr8mggt) · Cloudflare · 2 upvotes · 0 comments
- [OTel-Native by Design - Building Products That Export to Any Observability Stack](https://daily.dev/posts/otel-native-by-design---building-products-that-export-to-any-observability-stack-oq9lv6e1m) · OpenTelemetry · 2 upvotes · 0 comments
- [An End-to-End Cloud Native Observability Framework](https://daily.dev/posts/an-end-to-end-cloud-native-observability-framework-4gzq4zqow) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#observability](https://daily.dev/tags/observability), [#cloudflare](https://daily.dev/tags/cloudflare), [#opentelemetry](https://daily.dev/tags/opentelemetry)

[View this post on daily.dev](https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Connecting Cloudflare and Honeybadger with OpenTelemetry","url":"https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1"},"datePublished":"2026-10-29T21:58:59.632Z","dateModified":"2026-10-29T22:04:04.553Z","description":"Cloudflare Workers logs can be shipped straight into Honeybadger Insights using OpenTelemetry's OTLP log protocol. The guide builds a test app with RedwoodSDK,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6297b7b8652a575b23c3c33db7fdf03e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6297b7b8652a575b23c3c33db7fdf03e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Honeybadger","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Honeybadger","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/5b56ad30204443ccade335f95e09ac85","url":"https://daily.dev/sources/honeybadger"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"observability,cloudflare,opentelemetry","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Honeybadger","item":"https://daily.dev/sources/honeybadger"},{"@type":"ListItem","position":3,"name":"Connecting Cloudflare and Honeybadger with OpenTelemetry"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/connecting-cloudflare-and-honeybadger-with-opentelemetry-xa29as3x1#faq","mainEntity":[{"@type":"Question","name":"How do I send Cloudflare Workers logs to Honeybadger using OpenTelemetry?","acceptedAnswer":{"@type":"Answer","text":"Create a log destination in Cloudflare's Observability settings pointing to the OTLP logs endpoint `https://api.honeybadger.io/v1/logs`, then add a custom header named exactly `X-API-Key` with your Honeybadger project API key as the value. Cloudflare runs an internal check when you save, and logs including `console.log()` output and uncaught exceptions will start flowing into Honeybadger Insights within a few minutes. daily.dev surfaces setup guides like this for developers wiring observability into Cloudflare Workers."}},{"@type":"Question","name":"What header name does Honeybadger require for OTLP log ingestion from Cloudflare?","acceptedAnswer":{"@type":"Answer","text":"The custom header must be named exactly `X-API-Key`, with the value set to your Honeybadger project's API key. If the header name isn't exact, Honeybadger will reject the incoming logs even though Cloudflare's destination check may still pass. Developers debugging silent log ingestion failures rely on precise setup details like this via daily.dev."}},{"@type":"Question","name":"How does Honeybadger Insights differ from Cloudflare's built-in observability page?","acceptedAnswer":{"@type":"Answer","text":"Honeybadger Insights uses 'wide events', bundling properties like user behavior, business intelligence, system logs and Cloudflare Workers logs into single records, rather than splitting data between logs and traces as Cloudflare's own observability page does. Insights also adds a more powerful query system, natural language search, easy visualization generation, and configurable alarms, which Cloudflare's fragmented query builder lacks for saving repeat visualizations. Teams comparing observability tooling for Cloudflare Workers can track such trade-offs on daily.dev."}}]}
```

