github DataDog/dd-trace-go v1.47.0

latest releases: v1.65.1, v1.65.1-rc.1, v1.65.0...
17 months ago

Summary

In this release, Application Performance Monitoring (APM) adds W3C trace context propagation support. The new default propagation list is tracecontext,Datadog for injection and extraction. See the docs for more configuration details.
APM also re-introduces the collection of client ip address as an opt-in feature, even when ASM isn't configured. This can be enabled by setting DD_TRACE_CLIENT_IP_ENABLED.

Application Security Management (ASM) introduces IP blocking to Gin and Echo, along with a new public API to log security-related events.

The profiler now uses the faster delta profile implementation by default, first introduced in version 1.44.0. This significantly reduces the memory allocations from profile manipulation.

Changes

Application Performance Monitoring (APM)

  • ddtrace/tracer: add W3C context propagator support by @dianashevchenko in #1630
  • ddtrace/tracer : allowed equals sign in propagated tag values by @dianashevchenko in #1650
  • ddtrace/tracer: remove some networking from unit tests by @nsrip-dd in #1656
  • contrib/bradfitz/gomemcache/memcache: bump client TO in tests by @ahmed-mez in #1673
  • tracer: enable stats flushing when Flush() is called by @lievan in #1661
  • ddtrace/tracer: annotate execution trace with span IDs by @nsrip-dd in #1674
  • tracer: add PII protection for runtime/trace data by @felixge in #1690
  • contrib/internal/httptrace: collect client ip if DD_TRACE_CLIENT_IP_ENABLED is set to true by @lievan in #1679

Application Security Management (ASM)

Profiler

  • profiler: enable fastdelta by default by @felixge in #1657
  • profiler: return copy of delta profile data to avoid race by @nsrip-dd in #1660

Fixes

Application Performance Monitoring (APM)

Full Changelog: v1.46.1...v1.47.0

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

NewReleases is sending notifications on new releases.