Change8

v4.6.7

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

Summary

This release includes bug fixes for LLM Observability span hierarchy and CI Visibility test event loss during pytest-xdist crashes. Users can enable eager flushing for the latter via an environment variable.

Migration Steps

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

🐛 Bug Fixes

  • LLM Observability: Fixed incorrect span hierarchy in LLMObs traces when using ddtrace SDK with OTel instrumentation, ensuring OTel gen_ai spans are correctly nested under their SDK parent spans.
  • CI Visibility: Resolved issue where pytest-xdist worker crashes led to loss of buffered test events.

Affected Symbols