github DataDog/dd-trace-py v4.16.1
4.16.1

2 hours ago

Estimated end-of-life date, accurate to within three months: 05-2027
See the support level definitions for more information.

Bug Fixes

  • internal: Fixes an issue where forked child processes hang and never exit, causing memory usage to grow and the parent process to stall, when several threads fork at the same time (for example, multiprocessing.Process started from a thread pool).

  • dynamic instrumentation: Fixes an issue where an application thread could hang indefinitely when probes, Exception Replay, or Code Origin produced data faster than it could be uploaded.

  • google-adk: Fixes an issue where applications using google-adk 2.12.0 fail to start with LLM Observability enabled, or start without tool call and code execution spans otherwise. Tool calls made through Runner.run_live are now also traced on google-adk 2.12.0.

  • otel: Fixes an issue where OTLP HTTP export requests are incorrectly traced when OpenTelemetry logs or metrics collection is enabled with opentelemetry-exporter-otlp 1.45.0 or later.

  • opentelemetry: Fixes an issue where OTEL_LOGS_EXPORTER=otlp does not enable OTLP log export.

  • tracing: Fixes an issue where baggage in OTEL_PROPAGATORS is reported as unsupported and ignored.

  • internal: Fixes an issue where wrapping an obfuscated function (for example PyArmor) on Python 3.15 proceeds into instrumentation setup instead of failing cleanly. Those functions still cannot be instrumented.

  • LLM Observability: This fix resolves an issue where google_genai and vertexai LLM spans did not include tool_use_prompt_token_count in the input token count.

  • Code Security (IAST): Fixes an issue where SQL values escaped by PyMySQL 1.2.1 and later are not recognized as sanitized.

Don't miss a new dd-trace-py release

NewReleases is sending notifications on new releases.