github DataDog/dd-trace-py v0.56.0
0.56.0

latest releases: v2.16.1, v2.14.7, v2.15.2...
2 years ago

Upgrade Notes

  • The aredis integration is now enabled by default.

Bug Fixes

  • The thread safety of the custom buffered encoder was fixed in order to eliminate a potential cause of decoding errors of trace payloads (missing trace data) in the agent.
  • Fix handling of Python exceptions during trace encoding. The tracer will no longer silently fail to encode invalid span data and instead log an exception.
  • Configure a writer thread in a child process after forking based on writer configuration from its parent process.
  • Allow the elasticsearch service name to be overridden using the integration config or the DD_SERVICE_MAPPING environment variable.
  • Fixes parsing of botocore env variables to ensure they are parsed as booleans.
  • Ensure tornado spans are marked as an error if the response status code is 500 <= x < 600.
  • Fix memory leak caused when the tracer is disabled.
  • Fix Pyramid caller_package level issue which resulted in crashes when starting Pyramid applications. Level now left at default (2).
  • Set the correct package name in the Pyramid instrumentation. This should fix an issue where the incorrect package name was being used which would crash the application when trying to do relative imports within Pyramid (e.g. when including routes from a relative path).

New Features

  • Profiling now supports tracing greenlets with gevent version prior to 1.3.
  • The heap profiler is now enabled by default.
  • Add yaaredis ≥ 2.0.0 support.

Deprecation Notes

  • The ddtrace.utils module and all of its submodules have been copied over into ddtrace.internal in an effort to internalize these modules. Their public counterparts will be removed entirely in version 1.0.0.
  • The contents of monkey.py have been moved into _monkey.py in an effort to internalize the module. Public methods have been imported back into monkey.py in order to retain compatibility, but monkey.py will be removed entirely in version 1.0.0.

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

NewReleases is sending notifications on new releases.