datadog-opentelemetry 0.4.0

A Datadog layer of compatibility for the opentelemetry SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
// SPDX-License-Identifier: Apache-2.0

//! Datadog sampling logic

pub(crate) mod otel_mappings;
pub(crate) mod utils;

// Re-export from libdd-sampling
pub use libdd_sampling::{
    AttributeFactory, AttributeLike, DatadogSampler, SamplingData, SamplingRule,
    SamplingRulesCallback, SpanProperties, TraceIdLike, ValueLike,
};

// Re-export key public types
pub use otel_mappings::{OtelAttributeFactory, OtelSamplingData};