Note
v2.2.0
and v2.2.1
are retracted versions. If you are running one these two versions, please upgrade to v2.2.2
as soon as possible.
Warning
If you are experiencing sporadic spotaneous reboots by running dd-trace-go on Mac M4 15.5 or 15.6. Please upgrade to v2.2.2
as soon as possible. More information in #3827
What's Changed
Application Performance Monitoring (APM)
- fix: bump aws-sdk-go-v2 dependencies to support opensearch by @darccio in #3645
- contrib/go.mongodb.org/mongo-driver.v2: add orchestrion support by @rarguelloF in #3651
- contrib/database/sql: sanitize sensitive data in error messages by @kakkoyun in #3686
- valkey-go: fix orchestrion schema by @eliottness in #3732
- go.mod: upgrade datadog-agent packages to v.0.67.0 by @KevinFairise2 in #3726
- feat: add ruleguard rules to prevent uncontrolled data leakage in logging by @kakkoyun in #3706
- fix: service name configurations by @rarguelloF in #3736
- feat: enable runtime metrics v2 by default by @felixge in #3745
- refactor: replace atomic operations with atomic.Int32 for error tracking in SpanContext by @darccio in #3655
- fix(tracer): Baggage extraction by @mtoffl01 in #3597
- fix(ddtrace/tracer): add test and fix for deadlock issue #3541 in remote configuration by @darccio in #3667
- instrumentation: stop sending telemetry logs for each log a contrib would send to stdout by @eliottness in #3684
- ddtrace/tracer: cap execution tracer task name length by @nsrip-dd in #3658
- contrib/aws: finish span in middleware func where it was created by @chadawagner in #3697
- ddtrace/tracer: sanitize URLs in CI Visibility transport logs by @kakkoyun in #3704
- fix(internal/baggage): fix data race on baggage map read/write by @mtoffl01 in #3700
- ddtrace/tracer: fix remote config memory leak by @ajwerner in #3797
App & API Protection
- appsec: support for go 1.25 by @eliottness in #3739
- appsec: fix a sporadic kernel panic on Mac M4 15.5 by @RomainMuller in DataDog/go-libddwaf#147
- contrib/envoyproxy: body parsing support by @e-n-0 in #3671
- contrib/envoyproxy: Implement API Sec proxy route sampler by @e-n-0 in #3698
- contrib/envoyproxy: update default env vars by @e-n-0 in #3759
- appsec: don't send response schemas if request was blocked by @RomainMuller in #3628
- appsec: set HTTP header span tags even if WAF has no interest in them by @RomainMuller in #3355
- appsec: treat 100.65.0.0/10 as internal IPs by @RomainMuller in #3685
Profiling
- profiler: fix race in refreshing execution trace config by @nsrip-dd in #3659
- profiler: re-introduce
enabled
field to startup log by @mtoffl01 in #3712
Ci Visibility
- fix (internal/civisibility): fix code coverage stdout data race by @tonyredondo in #3674
- fix (internal/civisibility): fix code coverage data race by @tonyredondo in #3662
- fix (internal/civisibility): logs test fix by @tonyredondo in #3653
- fix (internal/civisibility): fix p.serializationTime data race by @tonyredondo in #3668
- fix: data race in civisibility/integrations/logs/logs_payload.go by @darccio in #3666
- fix (internal/civisibility): fix parallel testing when ancilliary features are enabled. by @tonyredondo in #3720
- fix(internal/civisibility): fix the attempt-to-fix-passed tag by @tonyredondo in #3743
- internal/civisibility: add debug logs to the git command execution by @tonyredondo in #3770
- feat(baggage): auto-adding baggage to span tags by @rachelyangdog in #3440
- feat(internal/civisibility): improve telemetry for git commands. by @tonyredondo in #3773
- feat(internal/civisibility): start reporting ci.job.id tag on supported providers. by @tonyredondo in #3776
- feat(internal/civisibility): attempt to fix v5 by @tonyredondo in #3784
- feat(internal/civisibility): update ci provider spec and add DroneCI support by @tonyredondo in #3800
General
- fix: add
@latest
to v2fix install command by @mkusaka in #3654 - Adds a nil check on tracer.AddEvent by @heitoriha in #3657
- internal/telemetry: fix deadlock when recorder queue is full by @eliottness in #3683
- profiler: skip flaky TestDebugCompressionEnv test by @nsrip-dd in #3691
- add recipe for handling flaky tests [LANGPLAT-352] by @emmettbutler in #3682
- internal/stableconfig: Report configuration telemetry by @mtoffl01 in #3570
- fix: sanitize span context debug logging to prevent sensitive data exposure by @kakkoyun in #3703
- fix: orchestrion metadata not propagated into the config object by @RomainMuller in #3734
- internal/remoteconfig: Propagate git metadata tags by @piob-io in #3735
- internal/stableconfig: Report config ID to telemetry by @mtoffl01 in #3617
- Suppress spammy retry attempt logs by @yuandesu in #3747
- instrumentation/errortrace: Improve error stack traces by @hannahkm in #3709
- internal/remoteconfig: Propagate container ids headers by @piob-io in #3794
- tracer: subscribe to and report symbol db RC status by @ajwerner in #3799
- fix: errorstack duration checks failing on Windows by @hannahkm in #3798
New Contributors
- @mkusaka made their first contribution in #3654
- @heitoriha made their first contribution in #3657
- @emmettbutler made their first contribution in #3682
- @chadawagner made their first contribution in #3697
- @KevinFairise2 made their first contribution in #3726
- @piob-io made their first contribution in #3735
- @yuandesu made their first contribution in #3747
- @drodriguezhdez made their first contribution in #3774
- @CarlosNietoP made their first contribution in #3783
- @ajwerner made their first contribution in #3797
Full Changelog: v2.1.0...v2.2.0