Change8

v4.5.9

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

Summary

This release addresses critical stability issues related to application forking and Python shutdown, and resolves data loss for buffered test events in CI Visibility when using pytest-xdist.

Migration Steps

  1. To enable eager flushing for CI Visibility fixes, set the environment variable DD_TRACE_PARTIAL_FLUSH_MIN_SPANS=1.

🐛 Bug Fixes

  • Fixed an issue where internal background threads caused crashes or instability in applications that fork (e.g. Gunicorn, uWSGI) or during Python shutdown.
  • Resolved an issue in CI Visibility where pytest-xdist worker crashes (os._exit, SIGKILL, segfault) led to the loss of buffered test events.

Affected Symbols

datadog-sdk v4.5.9 - Change8