Skip to content

Releases: DataDog/dd-trace-py

0.5.0

07 Dec 10:40

Choose a tag to compare

Major changes

  • addedmsgpack-python as a dependency
  • using Trace Agent API v0.3 that supports both JSON and Msgpack formats
  • provided JSONEncoder and MsgpackEncoder that are switched at runtime the API v0.3 is not reachable (404)
  • MsgpackEncoder is the current default encoder
  • MsgpackEncoder will not be used if the pure Python implementation is used

Documentation

Read the full changeset

0.4.0

26 Nov 23:35

Choose a tag to compare

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.

v0.3.16

03 Nov 23:30

Choose a tag to compare

Bugfixes

  • Handle memory leaks when tracing happens in a forked process (Issue #84)
  • Fix error code in spans from the request library (thanks @brettlangdon)
  • Better handling of unicode tags (thanks @brettlangdon)
  • Allow easy configuration of host & port in the Django integration.

Enhancements

  • Cap the number of traces buffered in memory.
  • Higher trace submission throughput.
  • Preliminary work on gevent support. Not fully complete.

Read the full changeset

v0.3.15

01 Nov 01:51

Choose a tag to compare

Integrations

  • add tracing for the requests library

Read the full changeset

0.3.14

30 Sep 12:39

Choose a tag to compare

Integrations

  • [pylons] allow users to set resources inside handlers
  • [django] add support for the Django cache framework

Enhancements

Read the full changeset

v0.3.13

21 Sep 20:53

Choose a tag to compare

New integrations

  • added pylibmc Memcached client integration
  • improved Django integration providing a Django app that instrument Django internals

Read the full changeset

v0.3.12

14 Sep 09:26

Choose a tag to compare

change set

v0.3.11

31 Aug 13:29

Choose a tag to compare

Bugfixes

  • fixed an unpacking error for elasticsearch>=2.4
  • fixed the behavior of the tracer.wrap() method; now it works as expected

Documentation

Read the full changeset

v0.3.10

22 Aug 17:03

Choose a tag to compare

change set

  • add flask_cache integration; supporting the 0.12 and 0.13 versions
  • catch 500 errors on pylons integration

v0.3.9

12 Aug 21:12

Choose a tag to compare

change set

  • send service info from the sqlalchemy integration