pypi ddtrace 0.59.0rc1

latest releases: 2.12.3, 2.13.1, 2.14.2...
2 years ago

New Features

  • The profiler now reports asyncio tasks as part as the task field in profiles. This is enabled by default by replacing the default asyncio loop policy. CPU time, wall time and threading lock times are supported.
  • Add tracing support for sanic>=21.9.0.

Deprecation Notes

  • ddtrace.constants.FILTERS_KEY is deprecated. Use settings={"FILTERS": ...} instead when calling tracer.configure.
  • ddtrace.constants.NUMERIC_TAGS is deprecated.
  • ddtrace.constants.LOG_SPAN_KEY is deprecated.
  • Pin.app is deprecated.
  • ddtrace.Span.set_meta is deprecated. Use ddtrace.Span.set_tag instead.
  • ddtrace.Span.set_metas is deprecated. Use ddtrace.Span.set_tags instead.
  • ddtrace.Span.metrics is deprecated. Use ddtrace.Span.get_metric and ddtrace.Span.set_metric instead.
  • ddtrace.Span.tracer is deprecated.
  • ddtrace.Tracer.log is deprecated. Use ddtrace.tracer.log instead.
  • ddtrace.Tracer.sampler is deprecated.
  • ddtrace.Tracer.priority_sampler is deprecated.
  • ddtrace.Tracer.tags is deprecated. Use the environment variable DD_TAGS<dd-tags> to set the global tags instead.

Bug Fixes

  • Fix internal import of deprecated ddtrace.utils module.
  • Set correct service in logs correlation attributes when a span override the service.
  • Fixes import path to not reference __init__. This could otherwise be a problem for mypy.
  • flask: fix resource naming of request span when errors occur in middleware.
  • Fix issue when httpx service name is bytes.
  • Fixes build issues on older MacOS versions by updating libddwaf to 1.0.18
  • pytest: fix unsafe access to xfail reason.

Don't miss a new ddtrace release

NewReleases is sending notifications on new releases.