Change8

Datadog SDK

Backend & Infra

Datadog Python APM Client

Latest: v4.14.025 releases2 breaking changes5 common errorsView on GitHub

Release History

View all versions →
v4.14.020 fixes9 features
Aug 26, 2026

This release introduces several new features including AI Guard redaction, enhanced LLM Observability, and agentless OpenFeature provider delivery. It also includes numerous bug fixes across various integrations like Botocore, Django, and Tracing.

v4.14.0rc41 fix
Aug 19, 2026

This release addresses a bug where a large number of view or traced functions could cause exceptions. The fix ensures smoother operation for code origin span handling.

v4.11.71 fix
Aug 19, 2026

This release addresses a bug where a large number of view or traced functions could cause exceptions. The fix improves stability by ensuring proper handling of code origins for spans.

v4.14.0rc31 fix
Aug 18, 2026

This release addresses a bug in tracing by preventing a reentrant SpanData borrow panic. The fix ensures more stable operation of tracing functionalities.

v4.14.0rc22 fixes
Aug 14, 2026

This release fixes two bugs: one related to snowflake cursor calls with keyword arguments and another involving a rare crash with gevent during profiling.

v4.13.12 fixes
Aug 13, 2026

This release addresses two specific bugs: one related to snowflake cursor calls with keyword arguments and another concerning a rare crash with gevent and profiling.

v4.12.311 fixes
Aug 13, 2026

This release addresses several critical bug fixes across various integrations and internal components, including memory leak resolutions and stability improvements for Python versions 3.9-3.12.3. It also resolves issues with span export, trace data handling, and LLM observability.

v4.11.64 fixes
Aug 13, 2026

This release addresses several memory growth issues related to profiling and symbol database handling. It also resolves a span generation problem with OpenRouter requests when the OpenAI integration is active.

v4.10.123 fixes
Aug 13, 2026

This release addresses several critical bug fixes related to application crashes in specific Python versions and potential memory growth issues during stack profiling.

v4.14.0rc1
Aug 12, 2026
v4.13.02 fixes27 features
Aug 10, 2026

This release enhances LLM Observability with features like prompt management, image support, and OpenAI Realtime API instrumentation. It also introduces safer ID generation in Lambda, OpenTelemetry integration, and improved exception profiling.

v4.11.53 fixes
Aug 10, 2026

This release addresses several critical bugs, including issues with the openfeature provider, application crashes on specific Python versions during thread cleanup, and a memory leak related to runtime function wrapping.

v4.10.111 fix
Jul 31, 2026

This release addresses a critical bug fix related to uwsgi worker crashes during SIGTERM exits. It ensures more stable operation when the application is terminated.

v4.9.72 fixes
Jul 31, 2026

This release includes bug fixes for CI Visibility, addressing an issue with skipped test details in the Datadog UI, and resolves crashes in uwsgi workers during SIGTERM exits.

v4.12.21 fix
Jul 30, 2026

This release includes a bug fix for the `aws_durable_execution_sdk_python` that corrects the reporting of replayed durable operations that have failed permanently.

v4.13.0rc32 fixes
Jul 30, 2026

This release addresses two bug fixes related to LLM Observability. It resolves a TypeError in streamed tool-call reconstruction and corrects cost reporting for OpenRouter requests with specific integrations.

v4.11.41 fix
Jul 30, 2026

This release addresses a critical bug fix related to uwsgi worker crashes during SIGTERM exits.

v4.12.17 fixes
Jul 30, 2026

This release includes several bug fixes across CI Visibility, Code Security (IAST), and LLM Observability. It addresses issues with test skipping details, taint tracking, tool-call reconstruction, uwsgi worker crashes, and cost reporting for specific LLM integrations.

v4.13.0rc2
Jul 29, 2026
v4.11.32 fixes
Jul 28, 2026

This release addresses a potential memory leak in span code origin and fixes an issue with LangChain integration submitting empty chat model stream spans.

v4.13.0rc1Breaking1 fix25 features
Jul 27, 2026

This release introduces significant enhancements to LLM Observability, including prompt management, image attachment, and OpenAI Realtime API instrumentation. It also brings improvements to tracing safety, OpenTelemetry integration, AI Guard features, and crash tracking.

v4.10.104 fixes
Jul 27, 2026

This release includes several bug fixes across CI Visibility, Code Security (IAST), MCP, and IAST. Notably, issues related to Intelligent Test Runner correlation IDs, taint mapping in IAST, MCP initialization with LLM Observability, and uvloop compatibility have been addressed.

v4.11.26 fixes
Jul 27, 2026

This release addresses several bugs across CI Visibility, Code Security (IAST), MCP, Code Origin, and LLM Observability. Key fixes include resolving missing test information in Datadog UI, improving taint mapping in IAST, ensuring MCP instrumentation initialization, fixing deepcopying issues, preventing IAST crashes with uvloop, and restoring cost data for OpenAI/LiteLLM integrations with OpenRouter.

v4.12.0Breaking1 fix24 features
Jul 24, 2026

This release introduces significant enhancements to AI Guard, LLM Observability, and AppSec, including new features for handling audio, improving evaluation, and detecting LLM usage. It also brings instrumentation support for Ray Serve and Mistral AI, along with profiling improvements and bug fixes.

v4.8.132 fixes
Jul 16, 2026

This release includes bug fixes for PyYAML consumers like Airflow and addresses a false positive vulnerability reporting issue in IAST. Queries in IAST are now scoped to the calling request's slot.

Common Errors

ModuleNotFoundError2 reports

ModuleNotFoundError typically happens when a required dependency is not installed or has an incompatible version. To fix this, ensure the datadog-sdk and its dependencies like 'mcp' are installed with compatible versions using pip: pip install datadog-sdk mcp. If the error persists, check the specific library versions mentioned in the error message and consult the datadog-sdk documentation for compatibility requirements.

NotImplementedError1 report

NotImplementedError usually arises when a function or method is declared but lacks an actual implementation in a subclass or abstract base class, particularly with newer Python versions or libraries that might have added features. To resolve this, identify the method raising the error (e.g., a `Pathlib` method) and provide a concrete implementation in your subclass or use a compatible library version that fully supports the function. Alternatively, monkey-patch the missing implementation if direct modification is not possible.

TypeError1 report

TypeError errors in the datadog-sdk often arise from inconsistencies in expected data types, especially booleans, when setting configuration options like `DD_PROFILING_ENABLED`. To resolve this, ensure environment variables meant to represent booleans (True/False) are explicitly parsed as booleans before being used by the Datadog SDK. Specifically, check if `os.environ.get('DD_PROFILING_ENABLED')` is interpreted as a string instead of a boolean; if so, use code like `DD_PROFILING_ENABLED = os.environ.get('DD_PROFILING_ENABLED', 'false').lower() == 'true'` to cast the environment variable value to a proper boolean within your application.

AttributeError1 report

This AttributeError usually arises when code tries to access a non-existent attribute of an object, often due to version incompatibilities or incorrect class/module usage. To fix it, verify that the attribute genuinely exists in the object's class for the Python version you're using. If the attribute is missing in the current environment, either update the relevant library to a compatible version or use conditional logic to provide a fallback for older versions.

FileNotFoundError1 report

FileNotFoundError in datadog-sdk, especially with temporary directories, often arises when the user running the application lacks permissions or the designated temporary directory is missing or invalid. Resolve this by ensuring the user has read/write access to the temporary directory (e.g., /tmp), or by explicitly setting the TMPDIR, TEMP, or TMP environment variables to a valid, accessible directory before running your application.

Related Backend & Infra Packages

Subscribe to Updates

Get notified when new versions are released

RSS Feed