Change8

v3.9.0rc1

📦 datadog-sdkView on GitHub →
2 features🐛 4 fixes🔧 2 symbols

Summary

This release introduces CI Visibility features and tracing support for Azure Service Bus triggers, alongside several bug fixes related to generator wrapping and performance overhead. A new configuration option for safer instrumentation is also added.

Migration Steps

  1. For users running uWSGI version <2.0.30 with the `--lazy-apps` configuration set, it is advised to also set `--skip-atexit` to prevent potential crashes related to native extensions during worker process termination.

✨ New Features

  • Introduced CI Visibility reporting links in the pytest plugin, showing links to Datadog Test Optimization pages at the end of a test session.
  • Added tracing support for service bus triggers in azure_functions.

🐛 Bug Fixes

  • Fixed API Security sampling when running in standalone mode without APM tracing enabled.
  • Resolved an issue with a GC-based lookup for code origin resolution in dynamic instrumentation that caused high performance overhead.
  • Fixed support for wrapping generator and async generator functions with `tracer.wrap()`, ensuring tracing context is maintained across iterations and spans finalize correctly.
  • Resolved an issue where the library failed to decode a supported sampling mechanism, preventing the log line: "failed to decode \_dd.p.dm: ...".

🔧 Affected Symbols

tracer.wrap()tracer.current_span()