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)
- contrib/gin-gonic: add IP blocking by @Hellzy in #1665
- contrib/labstack/echo: add IP blocking by @Hellzy in #1654
- appsec: add user login and custom events tracking API by @Julio-Guerra in #1648
- internal/appsec: update security rules to v1.4.3 by @Julio-Guerra in #1683
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)
- contrib/{aws/*,net/http}: fix encoding of http.url by @knusbaum in #1662
- ddtrace/tracer: fixed propagator not updating the tracestate header by @dianashevchenko in #1676
Full Changelog: v1.46.1...v1.47.0