github DataDog/dd-trace-py v0.54.0rc1
0.54.0rc1

latest releases: v2.8.2, v2.7.9, v2.6.11...
pre-release2 years ago

v0.54.0rc1

New Features

  • Add automatic unix domain socket detection for traces. The expected path for the socket is /var/run/datadog/apm.socket which if exists, will be used instead of the previous http default, http://localhost:8126/. To be used in conjunction with apm_config.receiver_socket in your datadog.yaml file, or the DD_APM_RECEIVER_SOCKET environment variable set on the Datadog agent.
  • Update the --info command to be easier to read and provide more helpful information.
  • Add support for DD_PROFILING_ENDPOINT_COLLECTION_ENABLED env variable to disable endpoint name collection in profiler.
  • Add rq integration.
  • Tag traces with HTTP headers specified on the DD_TRACE_HEADER_TAGS environment variable. Value must be either comma or space separated. e.g. Host:http.host,User-Agent,http.user_agent or referer:http.referer Content-Type:http.content_type.

Deprecation Notes

  • Deprecate the DATADOG_ENV environment variable in favor of DD_ENV. The use of DD_ENV should follow Unified Service Tagging recommendations.

Bug Fixes

  • pytest: report exception details directly instead of through a RuntimeWarning exception.
  • Fixed the support for Celery workers that fork sub-processes with Python 3.6 and earlier versions.
  • Fix the reporting of the allocated memory and the number of allocations in the profiler.
  • Fixes cases in which the test.status tag of a test span from pytest would be missing because pytest_runtest_makereport hook is not run, like when pytest has an internal error.
  • Pin protobuf version to <3.18 for Python <=3.5 due to support being dropped.
  • Make sure that correct endpoint name collected for profiling.

Other Notes

  • Added runtime metrics status and sampling rules to start-up logs.

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

NewReleases is sending notifications on new releases.