OpenTelemetry | Honeycomb

We use cookies or similar technologies to personalize your online experience & tailor marketing to you. Many of our product features require cookies to function properly.

Read our privacy policy I accept cookies from this site

OpenTelemetry

Honeycomb supports OpenTelemetry, the CNCF open standard for sending tracing and metrics data, in a few different forms. If your application is already instrumented for OpenTelemetry, you can send OTLP data directly to Honeycomb’s endpoint. Read more about instrumenting with OpenTelemetry.

If a system is already instrumented with OpenTracing, OpenCensus, Zipkin, or Jaeger, you might want to use an OpenTelemetry Collector to export your data to Honeycomb.

If you’re instrumenting code for the first time, you can use one of Honeycomb’s OpenTelemetry Distributions.

Unsure whether to use OpenTelemetry or Beelines? Beelines and OpenTelemetry discusses the differences between the two.

About Honeycomb OpenTelemetry Distributions  🔗

Honeycomb’s OpenTelemetry Distributions wrap an OpenTelemetry SDK and provide more features in addition to what the SDK already gives you:

  • Additional configuration options for instrumentation based on common ways to configure applications
  • Compatibility with any of your existing OpenTelemetry instrumentation
  • Deterministic sampling for spans, configurable to your preferred sampling rate. (Defaults to a sample rate of 1.0)
  • Multi-span attributes. This gives you automatic propagation of span attributes, so you can add context to a span and have it propagate down on all child spans

We currently support distributions for Java and .NET.

Using the Honeycomb OpenTelemetry endpoint  🔗

If you’re not using an OpenTelemetry Distribution, you can send data to Honeycomb directly over OTLP with an OpenTelemetry SDK or the OpenTelemetry Collector.

In general, any OpenTelemetry integration should carry out these two steps:

  • Set the OTLP/GRPC endpoint to: api.honeycomb.io:443
  • Add two headers to the exporter configuration:
    • x-honeycomb-team, set the value to your Honeycomb write key
    • x-honeycomb-dataset, set to the name of the target dataset