pypi ddtrace 1.0.0rc2

latest releases: 2.16.2, 2.17.0rc1, 2.16.1...
2 years ago

New Features

  • Add Span.get_tags and Span.get_metrics.
  • aiohttp: add client integration. This integration traces requests made using the aiohttp client and includes support for distributed tracing. See the documentation for more information.
  • aiohttp_jinja2: move into new integration. Formerly the aiohttp_jinja2 instrumentation was enabled using the aiohttp integration. Use patch(aiohttp_jinja2=True) instead of patch(aiohttp=True). To support legacy behavior patch(aiohttp=True) will still enable aiohttp_jinja2.
  • asyncpg: add integration supporting v0.18.0 and above. See the docs for more information.

Upgrade Notes

  • ddtrace.constants.FILTERS_KEY is removed.
  • ddtrace.constants.NUMERIC_TAGS is removed.
  • ddtrace.constants.LOG_SPAN_KEY is removed.
  • ddtrace.Span.set_meta is removed. Use ddtrace.Span.set_tag instead.
  • ddtrace.Span.set_metas is removed. Use ddtrace.Span.set_tags instead.
  • Span.to_dict is removed.

Bug Fixes

  • Fix issue building ddtrace from source on macOS 12.
  • Fixes wrong numbers of memory allocation being reported in the memory profiler.
  • pymongo: fix write_command being patched with the wrong method signature.

Don't miss a new ddtrace release

NewReleases is sending notifications on new releases.