Skip to main content
All recipes

Honeycomb.

CodeOTLP

Honeycomb's OTLP endpoint accepts traces and metrics out of the box. Use the same `beforeSend` mirror as other OTel destinations — Honeycomb's environment-scoped API key is the only setup difference.

Configure the OTLP exporter for Honeycomb.

Bash
OTEL_EXPORTER_OTLP_ENDPOINT=https://api.honeycomb.io
OTEL_EXPORTER_OTLP_HEADERS=x-honeycomb-team=$HONEYCOMB_API_KEY,x-honeycomb-dataset=upstream

Mirror via beforeSend.

Same `beforeSend` pattern as the [OpenTelemetry recipe](/docs/recipes/opentelemetry). Honeycomb dataset names default to your service.name, so set `x-honeycomb-dataset` if you want a dedicated dataset for upstream signals.

instrumentation.ts
// See /docs/recipes/opentelemetry — only the OTLP endpoint configuration differs.

Ship reliable upstream.

Drop the SDK in, point it at your project key, and start seeing live upstream telemetry inside the dashboard.