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. Usesettings={"FILTERS": ...}
instead when callingtracer.configure
.ddtrace.constants.NUMERIC_TAGS
is deprecated.ddtrace.constants.LOG_SPAN_KEY
is deprecated.Pin.app
is deprecated.ddtrace.Span.set_meta
is deprecated. Useddtrace.Span.set_tag
instead.ddtrace.Span.set_metas
is deprecated. Useddtrace.Span.set_tags
instead.ddtrace.Span.metrics
is deprecated. Useddtrace.Span.get_metric
andddtrace.Span.set_metric
instead.ddtrace.Span.tracer
is deprecated.ddtrace.Tracer.log
is deprecated. Useddtrace.tracer.log
instead.ddtrace.Tracer.sampler
is deprecated.ddtrace.Tracer.priority_sampler
is deprecated.ddtrace.Tracer.tags
is deprecated. Use the environment variableDD_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 formypy
. - flask: fix resource naming of request span when errors occur in middleware.
- Fix issue when
httpx
service name isbytes
. - Fixes build issues on older MacOS versions by updating
libddwaf
to 1.0.18 - pytest: fix unsafe access to xfail reason.