chore(deps): update dependency ddtrace to v2.4.0 #264
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.3.3
->2.4.0
Release Notes
DataDog/dd-trace-py (ddtrace)
v2.4.0
: 2.4.0Compare Source
New Features
ASM: dependency telemetry metrics now will only report dependencies actually in use (imported) and will also report new imported modules periodically.
ASM: This introduces Threat Monitoring and Blocking on FastAPI.
Vulnerability Management for Code-level (IAST): Adds Python 3.12 compatibility
tracing: Introduces support for OpenTracing Baggage Items with HTTP Propagation. Enable this support by
DD_TRACE_PROPAGATION_HTTP_BAGGAGE_ENABLED=true
. TheContext._set_baggage_item
andContext._get_baggage_item
internal methods are provided for manual modifications to the Baggage Items. These API changes are subject to change.dynamic instrumentation: Add support for more built-in container types, such as
defaultdict
,frozenset
,OrderedDict
andCounter
.Optionally lazy loads and disables Instrumentation Telemetry. Users must explicitly set "DD_INSTRUMENTATION_TELEMETRY_ENABLED=false".
tracer: Add support for remotely setting the trace sample rate from the Datadog UI. This functionality is enabled by default when using
ddtrace-run
and library injection. To enable it when using the library manually, useddtrace.config.enable_remote_config()
.Upgrade Notes
This removes the
pylons
integration, which does not support Python 3.Deprecation Notes
Bug Fixes
.format
string method.multiprocessing.queue
in Lambda, because it is not supported in LambdaTypeError
raised by serializing producers and deserializing consumers when themessage.key
tag is set on spans.ddtrace-run
orddtrace.patch_all()
withDD_TRACE_ENABLED=False
would break with get, gets, and get_multi operations on pylibmc Clients.context._meta
dict caused RuntimeError: dictionary changed size during iteration.AttributeError
raised by tracedStreamingHttpResponse
.requests.requests
spans to include the method and path of the request.Context
generated from extracted headers could lack a span_id or trace_id, leadingSpanLink
encoding errors.DD_TRACE_API_VERSION
is set tov0.5
and a BufferFull Exception is raised by the TraceWriter. This fix ensures span fields are not overwritten and reduces the frequency of 4XX errors in the trace agent.Other Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.