github DataDog/dd-trace-py v2.21.10
2.21.10

latest releases: v3.13.0, v3.12.6, v3.12.5...
one month ago

Estimated end-of-life date: 10-2025
See the support level definitions for more information.

Bug Fixes

  • tracing
    • This resolves a TypeError in encoding when truncating a large bytes object.
    • This fix resolves an issue where the library fails to decode a supported sampling mechanism, resulting in the log line: "failed to decode _dd.p.dm: ..."
    • Fixes an issue where span attributes were not truncated before encoding, leading to runtime error and causing spans to be dropped. Spans with resource name, tag key or value larger than 25000 characters will be truncated to 2500 characters.
    • Fixes an issue where truncation of span attributes longer than 25000 characters would not consistently count the size of UTF-8 multibyte characters, leading to a unicode string is too large error.
  • dynamic instrumentation: fixed an incompatibility issue with code origin that caused line probes on the entry point functions to fail to instrument.

Don't miss a new dd-trace-py release

NewReleases is sending notifications on new releases.