github DataDog/dd-trace-py v1.12.0
1.12.0

latest releases: v2.12.2, v2.11.6, v2.11.5...
17 months ago

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 the CIVisibility service to use an agent-less test reporting CIVisibilityWriter. Note that the CIVisibility 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 the DD_MAIN_PACKAGE. This feature can be disabled by setting DD_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(), or ddtrace.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.

Don't miss a new dd-trace-py release

NewReleases is sending notifications on new releases.