Sample with OpenTelemetry SDKs | Honeycomb

Sample with OpenTelemetry SDKs

You can configure OpenTelemetry SDKs (and our Honeycomb distributions) to sample the data they generate using deterministic head sampling.

Honeycomb weights sampled data based on sample rate, so you must set a resource attribute containing the sample rate.

If you have multiple services that communicate with each other, it is important that they have the same sampling configuration. Otherwise, each service might make a different sampling decision, resulting in incomplete or broken traces. As an alternative (or when you have more robust sampling needs), you can sample using a stand-alone proxy, like Honeycomb Refinery.

To learn about using the sampler for your language of choice, visit:

On this page: