New Features
-
ASM: This introduces full support for exploit prevention in the python tracer.
- LFI (via standard API open)
- SSRF (via standard API urllib or third party requests) with monitoring and blocking feature, telemetry and span metrics reports.
-
opentelemetry: Adds support for span events.
-
tracing: Ensures the following OpenTelemetry environment variables are mapped to an equivalent Datadog configuration (datadog environment variables taking precedence in cases where both are configured):
OTEL_SERVICE_NAME -> DD_SERVICE OTEL_LOG_LEVEL -> DD_TRACE_DEBUG OTEL_PROPAGATORS -> DD_TRACE_PROPAGATION_STYLE OTEL_TRACES_SAMPLER -> DD_TRACE_SAMPLE_RATE OTEL_TRACES_EXPORTER -> DD_TRACE_ENABLED OTEL_METRICS_EXPORTER -> DD_RUNTIME_METRICS_ENABLED OTEL_LOGS_EXPORTER -> none OTEL_RESOURCE_ATTRIBUTES -> DD_TAGS OTEL_SDK_DISABLED -> DD_TRACE_OTEL_ENABLED
-
otel: adds support for generating Datadog trace metrics using OpenTelemetry instrumentations
Bug Fixes
- ASM: This fix resolves an issue where an org could not customize actions through remote config.
- This fix resolves an issue where importing
asyncio
after a trace has already been started will reset the currently active span. - fix(grpc): This fix a bug in the
grpc.aio
support specific to streaming responses. - openai: This fix resolves an issue where specifying
None
for streamed chat completions resulted in aTypeError
. - openai: This fix removes patching for the edits and fine tunes endpoints, which have been removed from the OpenAI API.
- openai: This fix resolves an issue where streamed OpenAI responses raised errors when being used as context managers.
- Code Security: Ensure IAST propagation does not raise side effects related to Magic methods.
- Code Security: fix a potential memory corruption when the context was reset.
- langchain: This fix resolves an issue where specifying inputs as a keyword argument for batching on chains caused a crash.
- Code Security: avoid calling terminate on the extend and join aspect when an exception is raised.