Skip to content

Releases: DataDog/dd-trace-py

0.58.2

16 Feb 22:47
91d910e

Choose a tag to compare

Bug Fixes

  • flask: fix resource naming of request span when errors occur in middleware.
  • pytest: fix unsafe access to xfail reason.

0.58.1

10 Feb 17:25
52be34a

Choose a tag to compare

Bug Fixes

  • Fix internal import of deprecated ddtrace.utils module.
  • Fixes import path to not reference __init__. This could otherwise be a problem for mypy.

0.58.0

09 Feb 18:38
eecc507

Choose a tag to compare

New Features

  • botocore: add distributed tracing support for AWS EventBridge, AWS SNS & AWS Kinesis.
  • Add ddtrace.Tracer.agent_trace_url and ddtrace.Tracer.flush.
  • Only for CI Visibility (pytest integration): remove traces whose root span is not a test.

Deprecation Notes

  • HttpServerConfig is no longer part of the public API.
  • ddtrace.Span.meta has been deprecated. Use ddtrace.Span.get_tag and ddtrace.Span.set_tag instead.
  • ddtrace.Span.pprint is deprecated and will be removed in v1.0.
  • ddtrace.Tracer.writer is deprecated. To force flushing of buffered traces to the agent, use ddtrace.Tracer.flush instead.

Bug Fixes

  • Fix application crash on startup when using channels >= 3.0.
  • Fix parenting of Redis command spans when using aioredis 1.3. Redis spans should now be correctly attributed as child of any active parent spans.
  • Fixes incompatibility of wrapped aioredis pipelines in async with statements.
  • Fixes issue with aioredis when empty pool is not available and execute returns a coroutine instead of a future. When patch tries to add callback for the span using add_done_callback function it crashes because this function is only for futures.
  • Escape non-Unicode bytes when decoding aioredis args. This fixes a UnicodeDecodeError that can be thrown from the aioredis integration when interacting with binary-encoded data, as is done in channels-redis.
  • Ensure gevent is automatically patched.
  • grpc: ensure grpc.intercept_channel is unpatched properly
  • Fix JSON encoding error when a bytes string is used for span metadata.
  • Profiler raises a typing error when Span.resource is unicode on Python 2.7.
  • Fix a bug in the heap profiler that could be triggered if more than 2^16 memory items were freed during heap data collection.
  • Fix a possible bug in the heap memory profiler that could trigger an overflow when too many allocations were being tracked.
  • Fix an issue in the heap profiler where it would iterate on the wrong heap allocation tracker.
  • Pymongo instrumentation raises an AttributeError when tracer.enabled == False

0.58.0rc1

08 Feb 14:39
8343e98

Choose a tag to compare

0.58.0rc1 Pre-release
Pre-release

New Features

  • botocore: add distributed tracing support for AWS EventBridge, AWS SNS & AWS Kinesis.
  • Add ddtrace.Tracer.agent_trace_url and ddtrace.Tracer.flush.
  • Only for CI Visibility (pytest integration): remove traces whose root span is not a test.

Deprecation Notes

  • HttpServerConfig is no longer part of the public API.
  • ddtrace.Span.meta has been deprecated. Use ddtrace.Span.get_tag and ddtrace.Span.set_tag instead.
  • ddtrace.Span.pprint is deprecated and will be removed in v1.0.
  • ddtrace.Tracer.writer is deprecated. To force flushing of buffered traces to the agent, use ddtrace.Tracer.flush instead.

Bug Fixes

  • Fix application crash on startup when using channels >= 3.0.
  • Fix parenting of Redis command spans when using aioredis 1.3. Redis spans should now be correctly attributed as child of any active parent spans.
  • Fixes incompatibility of wrapped aioredis pipelines in async with statements.
  • Fixes issue with aioredis when empty pool is not available and execute returns a coroutine instead of a future. When patch tries to add callback for the span using add_done_callback function it crashes because this function is only for futures.
  • Escape non-Unicode bytes when decoding aioredis args. This fixes a UnicodeDecodeError that can be thrown from the aioredis integration when interacting with binary-encoded data, as is done in channels-redis.
  • Ensure gevent is automatically patched.
  • grpc: ensure grpc.intercept_channel is unpatched properly
  • Fix JSON encoding error when a bytes string is used for span metadata.
  • Profiler raises a typing error when Span.resource is unicode on Python 2.7.
  • Fix a bug in the heap profiler that could be triggered if more than 2^16 memory items were freed during heap data collection.
  • Fix a possible bug in the heap memory profiler that could trigger an overflow when too many allocations were being tracked.
  • Fix an issue in the heap profiler where it would iterate on the wrong heap allocation tracker.
  • Pymongo instrumentation raises an AttributeError when tracer.enabled == False

0.57.4

11 Feb 18:21
8f0b59a

Choose a tag to compare

Bug Fixes

  • Fix an issue in the heap profiler where it would iterate on the wrong heap allocation tracker.

0.57.3

26 Jan 14:17
3a04de7

Choose a tag to compare

Bug Fixes

  • Fix JSON encoding error when a bytes string is used for span metadata.
  • Fix a bug in the heap profiler that could be triggered if more than 2^16 memory items were freed during heap data collection.
  • Fix a possible bug in the heap memory profiler that could trigger an overflow when too many allocations were being tracked.
  • Pymongo instrumentation raises an AttributeError when tracer.enabled == False

0.57.2

21 Jan 13:25
dbbb396

Choose a tag to compare

Bug Fixes

  • Fix application crash on startup when using channels >= 3.0.
  • Fix parenting of Redis command spans when using aioredis 1.3. Redis spans should now be correctly attributed as child of any active parent spans.
  • Fixes issue with aioredis when empty pool is not available and execute returns a coroutine instead of a future. When patch tries to add callback for the span using add_done_callback function it crashes because this function is only for futures.
  • Profiler raises a typing error when Span.resource is unicode on Python 2.7.

0.57.1

11 Jan 17:04
5037fbf

Choose a tag to compare

Bug Fixes

  • Fixes incompatibility of wrapped aioredis pipelines in async with statements.
  • Escape non-Unicode bytes when decoding aioredis args. This fixes a UnicodeDecodeError that can be thrown from the aioredis integration when interacting with binary-encoded data, as is done in channels-redis.
  • grpc: ensure grpc.intercept_channel is unpatched properly

0.57.0

23 Dec 18:28
083c598

Choose a tag to compare

New Features

  • Add django 4.0 support.

  • The profiler now automatically injects running greenlets as tasks into the main thread. They can be seen within the wall time profiles.

  • Add new environment variables to enable/disable django database and cache instrumentation.

    DD_DJANGO_INSTRUMENT_DATABASES, DD_DJANGO_INSTRUMENT_CACHES

  • Add tracing support for the aioredis library. Version 1.3+ is fully supported.

Deprecation Notes

  • ddtrace.sampler.DatadogSampler.default_sampler property is deprecated and will be removed in 1.0.
  • ddtrace.propagation.utils has been deprecated and will be removed in version 1.0.

Bug Fixes

  • Only for CI Visibility (pytest integration): Fix calculation of pipeline URL for GitHub Actions.

0.57.0rc3

22 Dec 16:30
23827ed

Choose a tag to compare

0.57.0rc3 Pre-release
Pre-release

New Features

  • Add django 4.0 support.

  • The profiler now automatically injects running greenlets as tasks into the main thread. They can be seen within the wall time profiles.

Deprecation Notes

  • ddtrace.sampler.DatadogSampler.default_sampler property is deprecated and will be removed in 1.0.