github DataDog/dd-trace-py v4.1.3
4.1.3

latest releases: v4.2.0, v4.2.0rc3, v4.2.0rc2...
2 days ago

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

Bug Fixes

  • SSI: This fixes an issue where ddtrace fails to find _psutil_linux.abi3.so file in an injected environment.
  • LLM Observability: This fix resolves an issue where using multiple sequential annotation_context blocks caused annotations to fail after the first operation in subsequent contexts. Previously, the trace context created by the first annotation_context remained active after exiting, causing the second context to reuse a stale context ID. This resulted in annotations not being applied to spans after the first batch call in the second annotation_context block.
  • profiling: the Profiler now always uses the name of leaf tasks for the "Task name" label. Previously, one of the Stacks would be labelled with the parent task's name, which would lead to inconsistent behaviour across runs.
  • profiling: a bug causing crashes when using uvloop and forking has been resolved.
  • profiling: This improves the accuracy of stacks for on-CPU asyncio Tasks by reducing the odds of Frames for a Task polluting the stack of other Tasks.
  • profiling: This fix resolves an issue where memory profiler module fails to load when the system doesn't have libatomic installed.

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

NewReleases is sending notifications on new releases.