2.13.0rc1
Pre-releaseDeprecation Notes
- tracing: All public patch modules are deprecated. The non-deprecated methods are included in the
__all__attribute. - yaaredis: The yaaredis integration is deprecated and will be removed in a future version. As an alternative to the yaaredis integration, the redis integration should be used.
- tracing: Deprecates the
priority_samplingargument inddtrace.tracer.Tracer.configure(...).
New Features
- Datastreams Monitoring (DSM): Adds support for schema tracking.
- debugging: Exception Replay will capture any exceptions that are manually attached to a span with a call to
set_exc_info. - LLM Observability: The LangChain integration now submits vectorstore
similarity_searchspans to LLM Observability as retrieval spans. - langchain : Adds support for tracing tool invocations.
- LLM Observability: Adds support for capturing tool calls returned from LangChain chat completions.
- LLM Observability: Introduces the ability to set
ml_appandtimestamp_msfields inLLMObs.submit_evaluation. - openai: Introduces
modeltag for openai integration metrics for consistency with the OpenAI SaaS Integration. It has the same value asopenai.request.model.
Bug Fixes
-
CI Visibility: Resolves an issue where exceptions other than timeouts and connection errors raised while fetching the list of skippable tests for ITR were not being handled correctly and caused the tracer to crash.
-
CI Visibility: Fixes a bug where
.gitwas incorrectly being stripped from repository URLs when extracting service names, resulting ing,i, ortbeing removed (eg:test-environment.gitincorrectly becomingtest-environmen) -
botocore: Resolves a regression where trace context was not being injected into the input of Stepfunction
start_executioncommands. This re-enables distributed tracing when a Python service invokes a properly instrumented Step Function. -
LLM Observability: Resolves an issue where custom trace filters were being overwritten in forked processes.
-
LLM Observability: Resolves an issue where LLM Observability spans were not being submitted in forked processes, such as when using
celeryorgunicornworkers. The LLM Observability writer thread now automatically restarts when a forked process is detected. -
tracing: Fix for a side-effect issue with module import callbacks that could cause a runtime exception.
-
tracing: Fixes an issue with some module imports with native specs that don't support attribute assignments, resulting in a
TypeErrorexception at runtime. -
tracing: Improves the accuracy of
X-Datadog-Trace-Countpayload header. -
tracing: Resolves an issue where
ddtracepackage files were published with incorrect file attributes. -
tracing: Resolves an issue where django db instrumentation could fail.
-
LLM Observability: Resolves an issue where
session_idwas being defaulted totrace_id, which was causing unexpected UI behavior. -
openai: Fixes a bug where
asyncio.TimeoutErrors were not being propagated correctly from canceled OpenAI API requests. -
profiling: Propagates tags in
DD_PROFILING_TAGSandDD_TAGSto the libdatadog exporter, new exporter codepath which is enabled when either one of the following is set,DD_PROFILING_STACK_V2_ENABLED,DD_PROFILING_EXPORT_LIBDD_ENABLED, orDD_PROFILING_TIMELINE_ENABLEDor dd-trace-py is running in an injected environment. -
Security: Fix a memory leak on the native slice aspect.
Other Changes
- tracing: Removes the
DD_PRIORITY_SAMPLINGconfiguration option. This option is not used in anyddtrace>=2.0releases.