v4.2.2
📦 datadog-sdkView on GitHub →
🐛 4 fixes🔧 4 symbols
Summary
This release focuses on bug fixes across LLM Observability integrations (langchain, litellm) and profiling, addressing issues with span duplication, stream handling errors, and incorrect flamegraph rendering.
🐛 Bug Fixes
- LLM Observability: Resolved an issue where the langchain integration incorrectly marked openai responses as duplicate LLM spans even if a downstream LLM span was generated by the openai integration.
- LLM Observability (litellm): Fixed an AttributeError when accessing the .handler attribute on router streaming responses wrapped by litellm>=1.74.15; the integration now handles both original and wrapped responses.
- Profiling: Corrected an issue where asyncio task stacks contained duplicated frames when the task was on-CPU, ensuring each frame appears only once.
- Profiling: Fixed an issue causing memory profiler flamegraphs to render upside down.