Change8

v2.21.10

📦 datadog-sdk
🐛 5 fixes🔧 2 symbols

Summary

This release focuses on stability and correctness, primarily fixing several bugs related to tracing data encoding, truncation limits for span attributes, and dynamic instrumentation compatibility.

🐛 Bug Fixes

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

🔧 Affected Symbols

tracingdynamic instrumentation