Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-07-11 | 10.8 kB | |
v2.1.0 source code.tar.gz | 2025-07-11 | 3.8 MB | |
v2.1.0 source code.zip | 2025-07-11 | 4.7 MB | |
Totals: 3 Items | 8.4 MB | 2 |
Summary
Application Performance Monitoring (APM)
Client-Side Stats computation is now enabled by default. This feature allows the Go tracer to compute aggregated span statistics locally before sending them to the Datadog Agent, resulting in reduced network traffic and improved performance.
What this means: Instead of sending all raw span data to the Agent, the tracer now sends pre-computed statistics, reducing bandwidth usage while maintaining full observability.
To disable, if needed: Set the environment variable DD_TRACE_STATS_COMPUTATION_ENABLED=false
or use tracer.WithStatsComputation(false)
when starting the tracer programmatically.
Application Security Management (ASM)
contrib envoyproxy/go-control-plane: * API Security * Proxy sampler has been implemented for schema generation * Support of Json body analysis of requests and responses (using simdjson-go or fallbacking on json-iterator/go if not available) * Appsec * Support of Envoy observability_mode for async and non-blocking requests analysis
What's Changed
Application Performance Monitoring (APM)
- feat(http): add round tripper option for status check functionality and corresponding tests by @darccio in https://github.com/DataDog/dd-trace-go/pull/3480
- fix: graphql default service name by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3547
- fix: revert unexpected changes from v1->v2 by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3549
- fix: Add public Version for dd-trace-go for contrib by @e-n-0 in https://github.com/DataDog/dd-trace-go/pull/3599
- fix(ddtrace/tracer): postpone span events/links serialization by @darccio in https://github.com/DataDog/dd-trace-go/pull/3429
- fix(ddtrace/tracer): add finished check on NoDebugStack and WithError code branches by @darccio in https://github.com/DataDog/dd-trace-go/pull/3441
- fix(ddtrace/tracer): replace RLock with Lock for NoDebugStack check to prevent race condition by @darccio in https://github.com/DataDog/dd-trace-go/pull/3446
- fix(ddtrace/tracer): prevent applying rate to finished spans and add test coverage for this finishing code path by @darccio in https://github.com/DataDog/dd-trace-go/pull/3474
- fix(baggage): drop entire baggage header when malformed by @rachelyangdog in https://github.com/DataDog/dd-trace-go/pull/3498
- fix(ddtrace/tracer): fix UDS handling in WithAgentURL (#3553) by @darccio in https://github.com/DataDog/dd-trace-go/pull/3554
- fix(ddtrace/tracer): handle nil options in span configuration functions by @darccio in https://github.com/DataDog/dd-trace-go/pull/3592
- contrib/gorilla/mux: fix orchestrion aspect by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3630
- contrib/go.mongodb.org/mongo-driver.v2: add support by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3604
- contrib/envoyproxy: add JSON Encoder by @e-n-0 in https://github.com/DataDog/dd-trace-go/pull/3550
- contrib/database/sql: fix race condition by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3649
- contrib/aws/aws-sdk-go-v2/aws: Fix dynamodb service inference by @LamineKouissi in https://github.com/DataDog/dd-trace-go/pull/3528
- tracer: fix potential concurrency bug for trace source tag by @genesor in https://github.com/DataDog/dd-trace-go/pull/3442
- tracer: Log a warning on NoopTracer.StartSpan() (#2991) (#3378) by @mtoffl01 in https://github.com/DataDog/dd-trace-go/pull/3449
- sampling: update formula by @genesor in https://github.com/DataDog/dd-trace-go/pull/3423
- ddtrace/tracer: add process tags to client stats payload by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3580
- ddtrace/tracer: more accurate retry logging by @jstern in https://github.com/DataDog/dd-trace-go/pull/3327
- refactor(ddtrace/tracer): internalize {Get,Set}GlobalTracer API by @darccio in https://github.com/DataDog/dd-trace-go/pull/3482
- refactor Optimize baggage implementation by @mtoffl01 in https://github.com/DataDog/dd-trace-go/pull/3439
- refactor(ddtrace/tracer): remove Submit method from Tracer interface by @darccio in https://github.com/DataDog/dd-trace-go/pull/3561
- refactor(ddtrace/{tracer,mocktracer}): remove SubmitChunk method fromTracer interface by @darccio in https://github.com/DataDog/dd-trace-go/pull/3562
- refactor(ddtrace/tracer): remove unused Submit and SubmitChunk methods, unexpose Chunk type by @kakkoyun in https://github.com/DataDog/dd-trace-go/pull/3641
- feat: add process tags to tracing payloads by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3566
- feat: stats - compute stats after span is fully finished by @ichinaski in https://github.com/DataDog/dd-trace-go/pull/3443
- feat: stats - enable stats computation by default by @ichinaski in https://github.com/DataDog/dd-trace-go/pull/3548
- orchestrion: don't trace the tracer even if tracer.Start(tracer.WithHTTPClient(...)) is called by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3559
- Support file-based configurations (Phase 1) by @mtoffl01 in https://github.com/DataDog/dd-trace-go/pull/3438
- instrumentation: stop sending telemetry logs for each log a contrib would send to stdout by @eliottness [#3684]
- contrib/database/sql: sanitize sensitive data in error messages by @kakkoyun [#3686]
- fix(ddtrace/tracer): add test and fix for deadlock issue [#3541] in remote configuration by @darccio [#3667]
- fix(tracer): Baggage extraction by @mtoffl01 [#3597]
- ddtrace/tracer: cap execution tracer task name length by @nsrip-dd [#3658]
Application Security Management (ASM)
- appsec: blocking unavailable + update Envoy contrib by @e-n-0 in https://github.com/DataDog/dd-trace-go/pull/3298
- appsec: support route quantization for proxies by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3471
- feat(appsec): HTTP response monitoring SDK by @RomainMuller in https://github.com/DataDog/dd-trace-go/pull/3576
- feat(appsec): contrib/labstack/echo.v4 transparent response body analysis by @RomainMuller in https://github.com/DataDog/dd-trace-go/pull/3578
- feat(appsec): contrib/gin-gonic/gin semi-transparent body analysis by @RomainMuller in https://github.com/DataDog/dd-trace-go/pull/3579
- feat(appsec): support WAF trace tagging rules by @RomainMuller in https://github.com/DataDog/dd-trace-go/pull/3619
- internal/appsec: fix APISec in standalone mode by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3485
- internal/appsec: report libdl_present configuration by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3582
- internal/appsec: report appsec start error by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3631
- ci: update deployment for docker images by @e-n-0 [#3613]
- contrib/envoyproxy(feat): Implement API Sec proxy route sampler by @e-n-0 [#3698]
- envoyproxy: body parsing support by @eliottness [#3671]
- envoyproxy: support simdjson body parsing by @eliottness [#3643]
- appsec: support for go 1.25 by @eliottness [#3739]
Profiling
- refactor(profiler): centralize compression logic by @felixge in https://github.com/DataDog/dd-trace-go/pull/3529
- feat(profiler): show config in profile "Runtime Info" tab by @felixge in https://github.com/DataDog/dd-trace-go/pull/3588
- profiler: add process tags to profiling payloads by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3583
CI Visibility
- fix (internal/civisibility): Fix features load race condition by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3501
- fix (internal/civisibility): Fix environment variable parsing. by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3527
- fix (internal/civisibility): use internal code coverage api to get the total percentage. by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3540
- fix (internal/civisibility): fix travis environment variables mapping by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3573
- fix (internal/civisibility): update the impacted tests algorithm to use only remote branches. by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3584
- fix (internal/civisibility): fix code coverage stdout data race by @tonyredondo [#3674]
- fix (internal/civisibility): fix p.serializationTime data race by @tonyredondo [#3668]
- fix: data race in civisibility/integrations/logs/logs_payload.go by @darccio [#3666]
- feat (internal/civisibility): Add missing provider's environment variables. by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3514
- feat (internal/civisibility): civisibility mocktracer by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3507
- feat (internal/civisibility): Parallel EFD support by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3488
- feat (internal/civisibility): Add CIVisibility test event global hook by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3531
- feat (internal/civisibility): add support for git tags by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3593
- feat (internal/civisibility): Add test logs collection support by @tonyredondo in https://github.com/DataDog/dd-trace-go/pull/3624
General
- orchestrion/all: enforce using the latest tag by @RomainMuller in https://github.com/DataDog/dd-trace-go/pull/3418
- fix: orchestrion metadata not propagated into the config object by @RomainMuller [#3734]
- internal/telemetry: fix telemetry metric submit datarace double pool insertion by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3430
- internal/telemetry: add process tags to telemetry payloads by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3586
- internal/telemetry: make sure only backend known metrics are released by @eliottness in https://github.com/DataDog/dd-trace-go/pull/3614
- internal/datastreams: add process tags to dsm payloads by @rarguelloF in https://github.com/DataDog/dd-trace-go/pull/3585
- feat(ddtrace/opentelemetry): update expected span names based on
otelhttp
version by @darccio in https://github.com/DataDog/dd-trace-go/pull/3551
New Contributors
- @emmanuel-ferdman made their first contribution in https://github.com/DataDog/dd-trace-go/pull/3420
- @jstern made their first contribution in https://github.com/DataDog/dd-trace-go/pull/3327
- @arguile- made their first contribution in https://github.com/DataDog/dd-trace-go/pull/3538
- @jachym-tousek-keboola made their first contribution in https://github.com/DataDog/dd-trace-go/pull/3278
Full Changelog: https://github.com/DataDog/dd-trace-go/compare/v2.0.0...v2.1.0