0.4.0 is a "major" release of the dd-trace-py
. Please test thoroughly on staging before rolling out to your production clusters.
Enhancements
- automatically patch contrib libraries with
from ddtrace import monkey; monkey.patch_all()
. A few notes:- The previous ways of patching still exist, but are deprecated and might be no-ops. They will be removed in a future version.
- When you add
patch_all
remove your old instrumentation code. - Web frameworks still require middleware.
- experimental support for (much faster) msgpack serialization. disabled by default. will be enabled in a future release.
Integrations
- add integration for the [Bottle](web framework) web framework. (see #86)
Bug Fixes
- correctly trace django without auth middleware (see #116)
Read the full changeset.