Change8

v4.11.0rc4

📦 datadog-sdkView on GitHub →
🐛 7 fixes🔧 3 symbols

Summary

This release focuses on stability and correctness across tracing, Celery integration, and LLM observability. Key fixes include resolving duplicate trace sending post-fork and ensuring correct metadata handling for LLM spans.

🐛 Bug Fixes

  • Celery spans now correctly respect the `DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED` setting, ensuring they use the configured global service name instead of hardcoded defaults.
  • Traces buffered before os.fork() are no longer sent twice by parent and child processes.
  • The @tracer.wrap() decorator on async generators now correctly forwards sent values, exceptions, and close requests, ensuring full parity with the underlying generator.
  • Fixed a rare crash occurring on CPython versions older than 3.12.
  • LLM span metadata keys are now stringified before encoding, preventing spans from being dropped if metadata contained non-string keys (int, float, bool).
  • OpenAI integration no longer records unset request parameters (OpenAI SDK's Omit/NotGiven sentinels) as noise in LLM span metadata.
  • Fixed rare crashes that could occur post-fork in applications utilizing fork-based multiprocessing.

Affected Symbols