Release Notes
Upgrade Notes
- ASM: libddwaf upgraded to version 1.6.1 using a new library loading mechanism
- profiling: upgrades the profiler to support the
v2.4
backend API for profile uploads, using a new request format.
Deprecation Notes
DD_REMOTECONFIG_POLL_SECONDS
environment variable is deprecated and will be removed in v2.0. Please useDD_REMOTE_CONFIG_POLL_INTERVAL_SECONDS
instead.
New Features
- CI Visibility: Add support for CI provider buddy.works
- The component tag has been added for all auto-instrumented spans. The value of the component tag is equal to the name of the integration that produced the span.
- tracing: Adds support for IPv6 agent hostnames for DD_AGENT_HOST.
- elasticsearch: Update
elasticsearch
integration to add support foropensearch-py
. See the elasticsearch documentation for more information. - ASM: New Application Security Events Tracking API, starting with the functions
track_user_login_success_event
and
track_user_login_failure_event
for tracking user logins (it will also internally callset_user
) andtrack_custom_event
for any custom events. You can find these functions in theddtrace.appsec.trace_utils
module. Calling these functions will create new tags under theappsec.events
namespace (appsec.events.user.login
for logins) allowing you to track these events with Datadog. In the future this will be used to provide protection against account takeover attacks (ATO). Public documentation will be online soon. - tornado: Support custom error codes: https://ddtrace.readthedocs.io/en/stable/advanced_usage.html#custom-error-codes.
- CI Visibility: Support reliably linking tests to the pipeline that executed them.
Known Issues
- profiling: There is currently a known Python 3.11 compatibility issue where the stack collector does not properly access
PyFrameObject
member values, asPyFrameObject
is now created and computed lazily in Python 3.11. Until this is fixed, we advise against enabling the profiler while using Python 3.11. - profiling: There is currently a known performance regression issue with the profiler's code provenance feature. Note that this feature is disabled by default and will only be enabled if
DD_PROFILING_ENABLE_CODE_PROVENANCE
is set to true.
Bug Fixes
- This fix improves a cryptic error message encountered during some
pip install ddtrace
runs under pip versions <18. - profiling: This fix resolves an issue in Python 3.11 where a PyFrameObject strong reference count was not properly decremented in the stack collector.
Other Changes
- profiler: CPU overhead reduction.