Change8

Migrating to Datadog SDK v4.9.0rc2

Version v4.9.0rc2 introduces 1 breaking change. This guide details how to update your code.

Released: 5/8/2026

1
Breaking Changes
1
Migration Steps
3
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

LLMObs.annotateLLMObs.annotation_contextcosmosdb.query spans

Breaking Changes

Issue #1

Azure CosmosDB spans no longer include http.status_code tags; they are replaced by the db.response.status_code metric. Users relying on http.status_code tag on cosmosdb.query spans from ddtrace v4.8.0 must update their queries to use the new metric.

Migration Steps

  1. 1
    If you rely on the `http.status_code` tag on Azure CosmosDB query spans, update your monitoring queries to use the `db.response.status_code` metric instead.

Release Summary

This release introduces LLM Observability cost tagging and a configuration to exclude modules from lock profiling. It also fixes a startup deadlock related to Snowflake and resolves an issue with the lock profiler under gevent.

Need More Details?

View the full release notes and all changes for Datadog SDK v4.9.0rc2.

View Full Changelog