Estimated end-of-life date, accurate to within three months: 10-2027
See the support level definitions for more information.
New Features
-
LLM Observability: Adds an optional
cost_tagsargument toLLMObs.annotate()andLLMObs.annotation_context(). Pass a list of tag keys (already set viatagsor annotated previously on the same span) to have them attached to the cost and token metrics generated from LLM and embedding spans, which can help breaking down spend by team, project, org, or any custom dimension. -
profiling: Add
DD_PROFILING_LOCK_EXCLUDE_MODULESconfig to skip lock profiling for framework-internal locks. Excluded locks remain native with zero profiling overhead. Set it to a comma-separated list of module prefixes (e.g.,django.db,sqlalchemy.pool,urllib3).
Bug Fixes
-
azure_cosmos: This change removes the http.status_code tags from Azure CosmosDB spans and replaces them with the use of the db.response.status_code metric. For customers using ddtrace v4.8.0 and relying on the http.status_code tag of cosmosdb.query spans, this is a breaking change.
-
profiling: Fixes an issue where the lock profiler silently stopped capturing lock events when running under
ddtrace-runwithgeventinstalled. -
Fixed a startup deadlock when using
snowflake-connector-python >= 4.4.0withDD_TRACE_SNOWFLAKE_ENABLED=true.