Change8

v2.21.9

📦 datadog-sdkView on GitHub →
🐛 5 fixes🔧 3 symbols

Summary

This release focuses primarily on bug fixes across several subsystems including CI Visibility, Dynamic Instrumentation, Kafka integration, Profiling, and Tracing, addressing issues like incorrect file lookups, performance overhead, configuration handling, and sampling logic.

🐛 Bug Fixes

  • CI Visibility: Corrected lookup of the project's CODEOWNERS file to use the repository root instead of the current working directory.
  • Dynamic Instrumentation: Improved performance by fixing an issue related to GC-based lookup for code origin resolution that caused high overhead.
  • Kafka: Resolved a TypeError when initializing a Kafka producer or consumer with an unpacked config; initialization now correctly supports both unpacked and packed configs.
  • Profiling: Fixed a segfault during uWSGI shutdown caused by a null pool in SynchronizedSamplePool when calling ddog_ArrayQueue_ functions.
  • Tracing: Corrected the sampling rule matcher so that the pattern ?* now correctly matches spans when DD_TRACE_SAMPLING_RULES tags are used, even if the span lacks the specified tag key.

🔧 Affected Symbols

SynchronizedSamplePoolddog_ArrayQueue_DD_TRACE_SAMPLING_RULES