Skip to content

Releases: DataDog/dd-trace-py

1.1.0

02 May 18:12
f527956

Choose a tag to compare

New Features

  • Fixes deprecation warning for asyncio.coroutine decorator.

  • psycopg2: add option to enable tracing psycopg2.connect method.

    See our psycopg2 documentation for more information.

  • Add support to reuse HTTP connections when sending trace payloads to the agent. This feature is disabled by default. Set DD_TRACE_WRITER_REUSE_CONNECTIONS=true to enable this feature.

  • MySQLdb: Added optional tracing for MySQLdb.connect, using the configuration option here.

  • The profiler now supports profiling asyncio.Lock objects.

  • Add support for injecting and extracting B3 propagation headers.

    See DD_TRACE_PROPAGATION_STYLE_EXTRACT and DD_TRACE_PROPAGATION_STYLE_INJECT configuration documentation to enable.

Bug Fixes

  • botocore: omit SecretBinary and SecretString from span metadata for calls to Secrets Manager.

  • Fix issue building ddtrace for the Pyston Python implementation by not building the _memalloc extension anymore when using Pyston.

  • tracer.get_log_correlation_context(): use active context in addition to active span. Formerly just the span was used and this would break cross execution log correlation as a context object is used for the propagation.

  • opentracer: update set_tag and set_operation_name to return a reference to the span to match the OpenTracing spec.

  • The CPU profiler now reports the main thread CPU usage even when asyncio tasks are running.

1.1.0rc3

26 Apr 18:00
f527956

Choose a tag to compare

1.1.0rc3 Pre-release
Pre-release

Bug Fixes

  • Fixes deprecation warning for asyncio.coroutine decorator.

1.0.2

26 Apr 21:15
6277c65

Choose a tag to compare

Bug Fixes

  • Fixes deprecation warning for asyncio.coroutine decorator.

0.60.5

26 Apr 21:15
b230a17

Choose a tag to compare

Bug Fixes

  • Fixes deprecation warning for asyncio.coroutine decorator.

1.1.0rc2

25 Apr 20:06
489c7a7

Choose a tag to compare

1.1.0rc2 Pre-release
Pre-release

Release Notes

v1.1.0rc2

New Features

  • psycopg2: add option to enable tracing psycopg2.connect method.

    See our psycopg2 documentation for more information.

1.1.0rc1

21 Apr 14:22
b187df1

Choose a tag to compare

1.1.0rc1 Pre-release
Pre-release

New Features

  • fastapi: add support for tracing fastapi.routing.serialize_response.

    This will give an insight into how much time is spent calling jsonable_encoder within a given request. This does not provide visibility into how long it takes for Response.render/json.dumps.

  • Add support to reuse HTTP connections when sending trace payloads to the agent. This feature is disabled by default. Set DD_TRACE_WRITER_REUSE_CONNECTIONS=true to enable this feature.

  • MySQLdb: Added optional tracing for MySQLdb.connect, using the configuration option here.

  • The profiler now supports profiling asyncio.Lock objects.

  • Add support for injecting and extracting B3 propagation headers.

    See DD_TRACE_PROPAGATION_STYLE_EXTRACT and DD_TRACE_PROPAGATION_STYLE_INJECT configuration documentation to enable.

Bug Fixes

  • botocore: omit SecretBinary and SecretString from span metadata for calls to Secrets Manager.

  • Fix issue building ddtrace for the Pyston Python implementation by not building the _memalloc extension anymore when using Pyston.

  • tracer.get_log_correlation_context(): use active context in addition to
    active span. Formerly just the span was used and this would break cross execution log correlation as a context object is used for the propagation.

  • opentracer: update set_tag and set_operation_name to return a
    reference to the span to match the OpenTracing spec.

  • The CPU profiler now reports the main thread CPU usage even when asyncio tasks are running.

0.60.4

21 Apr 21:22
7e5cffe

Choose a tag to compare

Other Notes

  • internal: mark trace payloads as being partial flushed
  • internal: improve debug logs for tracer patching

1.0.1

15 Apr 18:26
ac2c1f6

Choose a tag to compare

Bug Fixes

  • Fix issue building ddtrace for the Pyston Python implementation by not building the _memalloc extension anymore when using Pyston.

  • tracer.get_log_correlation_context(): use active context in addition to active span. Formerly just the span was used and this would break cross execution log correlation as a context object is used for the propagation.

  • The CPU profiler now reports the main thread CPU usage even when asyncio tasks are running.

0.60.3

15 Apr 18:25
d0f07bc

Choose a tag to compare

Bug Fixes

  • Fix issue building ddtrace for the Pyston Python implementation by not building the _memalloc extension anymore when using Pyston.
  • The CPU profiler now reports the main thread CPU usage even when asyncio tasks are running.

1.0.0

12 Apr 13:13
f6a3c78

Choose a tag to compare

The Datadog APM Python team is happy to announce the release of v1.0.0 of ddtrace. This release introduces a formal versioning policy that simplifies the public interface and defines a release version policy for backwards compatible and incompatible changes to the public interface.

A full summary and details are included in the v1.0.0 Release Notes.

Important

Before upgrading to v1.0.0, we recommend users install ddtrace>=0.60.0,<1.0.0 and enable deprecation warnings. All removals to the library interface and environment variables were deprecated on 0.x branch. Consult Upgrade 0.x for recommendations on migrating from the 0.x release branch.