build(native): update libdatadog to v41.0.0 - #19580
build(native): update libdatadog to v41.0.0#19580gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
Conversation
Codeowners resolved asResolved from the full PR diff against No remaining files require a CODEOWNERS review. |
Circular import analysis
|
🎉 All green!🧪 All tests passed 🔗 Commit SHA: 1271bc5 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-08-13 17:29:58 Comparing candidate commit 1271bc5 in PR branch Found 0 performance improvements and 8 performance regressions! Performance is the same for 614 metrics, 9 unstable metrics. scenario:httppropagationextract-datadog_tracecontext_tracestate_not_propagated_on_trace_id_no_match
scenario:httppropagationinject-ids_only
scenario:iastaspects-lower_aspect
scenario:iastaspectsospath-ospathbasename_aspect
scenario:iastaspectssplit-rsplit_aspect
scenario:span-start
scenario:telemetryaddmetric-1-count-metric-1-times
scenario:tracer-small
|
Dependency direction analysis
|
|
LGTM for otel thread context changes. Thank you for adding the test. |
Update system-test revisions and adapt OTel thread-context and metric resource tests for libdatadog v41.0.0.
cac4a78 to
65a8ed9
Compare
## Description Wires ddtrace-py configuration into the libdatadog v41 OTLP trace-metrics exporter: - Passes supported `DD_TAGS` entries to the metrics resource as `datadog.tracer_tags`, excluding reserved service, environment, version, and runtime ID keys. - Adds `DD_TRACE_STATS_ADDITIONAL_TAGS` and forwards the selected span-tag keys to native stats aggregation. - Exposes both settings through the PyO3 builder and Python type stubs. - Adds writer and OTLP payload coverage plus a customer-facing feature release note. This follows the contract introduced in [system-tests#7363](DataDog/system-tests#7363) and refined in [system-tests#7466](DataDog/system-tests#7466). ## Testing - `cargo check --locked --manifest-path src/native/Cargo.toml` - `scripts/lint checks` - Coverage in `tests/tracer/test_writer.py` and `tests/opentelemetry/test_otlp_trace.py` ## Risks The new export path is disabled unless `OTEL_TRACES_SPAN_METRICS_ENABLED=true`. ## Additional Notes Stacked on [#19580](#19580), which updates libdatadog to v41.0.0 and must merge first. Co-authored-by: munir.abdinur <munir.abdinur@datadoghq.com>
Description
Updates ddtrace-py native dependencies without adding OTLP trace-metrics behavior:
Cargo.lock.692e9462ef7296cf1224c0d2bd3a3623a1bfe590usingscripts/update-system-tests-version.py.Testing
cargo check --locked --manifest-path src/native/Cargo.tomlscripts/lint checksRisks
This updates the shared native dependency used by tracing, profiling, telemetry, remote configuration, and crash tracking.
Additional Notes
#19672 is stacked on this PR and contains the OTLP trace-metrics feature and release note.