Releases: DataDog/dd-trace-py
0.60.2
Bug Fixes
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.
1.0.0rc3
Release Notes
v1.0.0rc3
Upgrade Notes
- Spans started after the tracer has been shut down will no longer be sent to the Datadog Agent.
- aiohttp_jinja2: use
patch(aiohttp_jinja2=True)instead ofpatch(aiohttp=True)for enabling/disabling the integration.
Bug Fixes
- botocore: fix incorrect context propagation message attribute types for SNS. This addresses Datadog/serverless-plugin-datadog#232
- aiohttp: fix issue causing
ddtrace.contrib.aiohttp_jinja2.patchmodule to be imported instead of thepatch()function.
0.60.1
Bug Fixes
- botocore: omit
SecretBinaryandSecretStringfrom span metadata for calls to Secrets Manager.
0.60.0
Prelude
In preparation for the upcoming v1.0.0 release, we recommend users enable deprecation warnings after having installed ddtrace>=0.60.0,<1.0.0. See the Upgrading and deprecation warnings section for further details.
New Features
-
asyncpg: add integration supporting v0.18.0 and above. See the docs for more information.
-
Add environment variable
DD_TRACE_RAISE_DEPRECATIONWARNINGto raise library deprecation warnings as errors for those unable to configure warning filters otherwise. -
Add
Span.get_tagsandSpan.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 ofpatch(aiohttp=True). To support legacy behaviorpatch(aiohttp=True)will still enable aiohttp_jinja2. -
fastapi: add support for tracing
fastapi.routing.serialize_response.
This will give an insight into how much time is spent callingjsonable_encoderwithin a given request. This does not provide visibility into how long it takes forResponse.render/json.dumps.
Deprecation Notes
Span.to_dictis deprecated and will be removed in v1.0.0.ddtrace.Tracer.logis deprecated. Uselogging.getLogger("ddtrace.tracer")instead.Tracer.write()is deprecated. Writing spans to the writer through the tracer is not supported.
Bug Fixes
- botocore: fix incorrect context propagation message attribute types for SNS. This addresses Datadog/serverless-plugin-datadog#232
- aiohttp: fix issue causing
ddtrace.contrib.aiohttp_jinja2.patchmodule to be imported instead of thepatch()function. - Remove Pin.app deprecation warning from celery instrumentation.
- tracing/internal: fix encoding of propagated internal tags.
- Fix issue building
ddtracefrom source on macOS 12. - Fixes wrong numbers of memory allocation being reported in the memory profiler.
- pymongo: fix
write_commandbeing patched with the wrong method signature.
Other Notes
- tracing/internal: disable Datadog internal tag propagation
0.60.0rc5
Bug Fixes
- botocore: fix incorrect context propagation message attribute types for SNS. This addresses Datadog/serverless-plugin-datadog#232
0.59.2
Bug Fixes
- botocore: fix incorrect context propagation message attribute types for SNS. This addresses Datadog/serverless-plugin-datadog#232
0.60.0rc4
Bug Fixes
- aiohttp: fix issue patching
aiohttpwhenaiohttp_jinja2is not installed.
0.60.0rc3
Bug Fixes
- aiohttp: fix issue causing
ddtrace.contrib.aiohttp_jinja2.patchmodule to be imported instead of thepatch()function. - Remove Pin.app deprecation warning from celery instrumentation.
0.60.0rc2
1.0.0rc2
New Features
- Add
Span.get_tagsandSpan.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 ofpatch(aiohttp=True). To support legacy behaviorpatch(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_KEYis removed.ddtrace.constants.NUMERIC_TAGSis removed.ddtrace.constants.LOG_SPAN_KEYis removed.ddtrace.Span.set_metais removed. Useddtrace.Span.set_taginstead.ddtrace.Span.set_metasis removed. Useddtrace.Span.set_tagsinstead.Span.to_dictis removed.
Bug Fixes
- Fix issue building
ddtracefrom source on macOS 12. - Fixes wrong numbers of memory allocation being reported in the memory profiler.
- pymongo: fix
write_commandbeing patched with the wrong method signature.