pypi ddtrace 3.11.3

latest releases: 3.12.6, 3.12.5, 3.12.4...
23 days ago

Bug Fixes

  • AAP: resolves a bug where ASGI middleware would not catch the BlockingException raised by AAP because it was aggregated in an ExceptionGroup
  • AAP: This fix resolves an issue where the route parameter was not being correctly handled in the Django path function.
  • dynamic instrumentation: extended captured value redaction in mappings with keys of type bytes.
  • kafka: This fix resolves an issue where the list_topics call in the Kafka integration could hang indefinitely. The integration now sets a 1-second timeout on list_topics calls and caches both successful cluster ID results and failures (with a 5-minute retry interval) to prevent repeated slow metadata queries.
  • openai: Resolves an issue where an uninitialized OpenAI/AsyncOpenAI client would result in an AttributeError.
  • pydantic_ai: This fix resolves an issue where enabling the Pydantic AI for pydantic-ai-slim >= 0.4.4 would fail. See this issue <https://github.com/DataDog/dd-trace-py/issues/14161>_ for more details.
  • Remote Config: Eagerly query Remote Config upon process startup to ensure timely configuration updates.
  • tracing: Fix inconsistent trace sampling during partial flush (traces >300 spans). Now correctly applies sampling rules to the root span instead of a random payload span. Since traces are sampled only once, using the wrong span could bypass sampling rules and cause the agent to apply default rate limits. Fixes regression introduced in v2.8.0.

Don't miss a new ddtrace release

NewReleases is sending notifications on new releases.