github DataDog/dd-trace-py v3.2.0rc1
3.2.0rc1

pre-releaseone hour ago

Upgrade Notes

  • Bumps libdatadog dependency to v16.0.3.

  • ASM

    • To align across products, we're replacing DD_EXPERIMENTAL_APPSEC_STANDALONE_ENABLED with DD_APM_TRACING_ENABLED. Feature set remains the same.

New Features

  • ASM
    • Introduces auto instrumentation of signup events for Django.

Bug Fixes

  • CI Visibility

    • Resolves an issue where ddtrace's own sys.monitoring coverage tool in Python 3.12+ would block other sys.monitoring tools such as pytest-cov from being used.
  • Profiling

    • Fixes an issue where Profiling native threads would respect the musl libc default stack size, which could cause stack overflows in certain configurations.
    • The memory profiler has a guard to avoid re-entering its code if there are allocations during sampling. This guard was meant to be thread-local, but was not correctly declared as such. This doesn't immediately cause problems because the profiler uses try-locks to protect access to its data structures, and re-entering the code will fail to acquire the locks. But this bug could be a source of deadlocks or data corruption if the code changes substantially in the future. This fix makes the guard thread-local as originally intended.
  • Tracing

    • celery: When multiple broker URLs are provided as a list, use the first broker URL from a list to avoid parsing errors.
    • Changes the name of the span event generated by a record_exception call as it was not following OTEL semantics.

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

NewReleases is sending notifications on new releases.