v4.11.0rc2
📦 datadog-sdkView on GitHub →
✨ 2 features🐛 6 fixes🔧 4 symbols
Summary
This release enhances LLM Observability by enabling reliable export of span data over APM traces and fixes several bugs across tracing, IAST, and code origin features. A change in trace API versioning occurs when LLMObs is active.
Migration Steps
- To ensure the injected library takes precedence for Single Step Instrumentation, set the environment variable DD_INJECT_EXPERIMENTAL_OVERRIDE_USER_DDTRACE=true.
✨ New Features
- LLM span data can now be exported to the Datadog Agent over the APM trace, and is reliably delivered even when the APM trace is not sampled.
- Added the ability to override a manually installed tracer for Single Step Instrumentation by setting the environment variable DD_INJECT_EXPERIMENTAL_OVERRIDE_USER_DDTRACE=true, ensuring injected ddtrace packages take precedence.
🐛 Bug Fixes
- LLM Observability agentless export data dropping on the us3, us5, ap1, and ap2 Datadog sites has been fixed for customers without an Agent or with agentless export enabled.
- Fixed a race condition where extra service names could be silently dropped from Remote Configuration /v0.7/config payloads in multi-threaded applications.
- Fixed an issue where pytest could crash internally when inspecting the call stack from an exception thrown by a view function when Code Origin is enabled.
- Fixed an issue where spans with very large JSON depth nested fields were being dropped; the integration now stringifies fields exceeding allowed depth.
- Fixed a crash that could happen at interpreter teardown related to IAST.
- Resolved an issue where Data Streams Monitoring schema tags were missing from protobuf spans due to incorrect patching of generated message classes.