Change8

v4.7.2

📦 datadog-sdkView on GitHub →
🐛 12 fixes🔧 5 symbols

Summary

This release focuses on stability and correctness across several areas, including fixing memory leaks in tracing, resolving crashes in profiling, and improving telemetry accuracy for AAP. LLM Observability span hierarchy and CI Visibility upload logic have also been corrected.

🐛 Bug Fixes

  • CI Visibility: Git metadata upload now aborts when the /search_commits endpoint returns a failure, preventing fallback to sending the full 30-day commit history.
  • ai_guard: Resolved a conflict between ddtrace.auto and strands imports by making the Strands integration load lazily on first attribute access.
  • AAP: Fixed incorrect reporting of Application and API Protection (AAP) as an enabled product in internal telemetry when only remote configuration listeners were registered.
  • iast: Fixed a crash.
  • profiling: Fixed a crash that could occur in child processes after fork.
  • tracing: Resolved a memory leak caused by reference cycles through a span's properties accumulating with traced call volume.
  • internal: Fixed a crash.
  • LLM Observability: Fixed incorrect span hierarchy in LLMObs traces when using ddtrace SDK with OTel instrumentation, ensuring OTel gen_ai spans are nested under SDK parent spans.
  • profiling: Fixed a rare crash when profiling asyncio code with many tasks or deep call stacks.
  • profiling: Fixed a bug in Lock Profiling that caused crashes when accessing attributes of custom Lock subclasses.
  • profiling: Fixed a race condition that could cause exceptions during asyncio code exit.
  • serverless: AWS Lambda functions now correctly use their function name as the service when DD_SERVICE is not set, and service remapping rules now apply correctly to Lambda spans.

Affected Symbols