New Features
- tracing: Adds support for 128 bit trace ids for b3 and w3c distributing tracing headers.
- pytest: Adds the
DD_CIVISIBILITY_AGENTLESS_ENABLED
environment variable to configure theCIVisibility
service to use an agent-less test reportingCIVisibilityWriter
. Note that theCIVisibility
service will use regular agent reporting by default. - sci: Extracts and sends git metadata from environment variables
DD_GIT_REPOSITORY_URL
,DD_GIT_COMMIT_SHA
, or from the python package specified in theDD_MAIN_PACKAGE
. This feature can be disabled by settingDD_TRACE_GIT_METADATA_ENABLED=False
. - otel: Adds support for the OpenTelemetry Tracing API. Please refer to the
docs <ddtrace.opentelemetry>
for more details.
Bug Fixes
- tracing: Ensure datadog headers propagate 128 bit trace ids when
DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED=False
- aws_lambda: Fix AttributeError raised when
ddtrace.patch_all()
, orddtrace.patch(aws_lambda=True)
, is set on user handler. - aws_lambda: Fix AttributeError raised when extracting context from arguments.
- aws_lambda: Fix AttributeError raised when callable handlers are traced.
- dynamic instrumentation: Fixed an issue with expressions in metric probes that prevented them from being evaluated.
- Prevent exceptions when autoreloading modules that directly or indirectly import ddtrace with the iPython autoreload extension.
- profiling: Corrects accounting of wall and CPU time for gevent tasks within the main Python thread.
- profiling: Fixed an issue with the memory collector where a segmentation fault could occur during shutdown.
- lib-injection: The ddtrace package is now provided via the Docker image rather than relying on a run-time
pip install
. This solves issues like containers blocking network requests, installation overhead during application startup, permissions issues with the install.