What's Changed
Note
There is a minor behaviour breaking change in tracer.SpanFromContext
. Now, it also returns false
in the second return value when the span from the context is a no-op span, which only happens when spans are created without a tracer being started (previously it used to return true
). This change shouldn't have any effect in applications that correctly start the tracer before creating spans.
Application Performance Monitoring (APM)
- contrib/envoyproxy: fix resource name by @e-n-0 in #3047
- appsec: Service Extension callout by @e-n-0 in #2965
- contrib/IBM/sarama.v1: support for consumer groups by @rarguelloF in #3041
- contrib/IBM/sarama.v1: remove commented code by @rarguelloF in #3073
- contrib/IBM/sarama.v1: use an unique topic name for tests by @rarguelloF in #3075
- contrib/http/net: adding integration-level option to configure error codes by @rachelyangdog in #3012
- contrib/net/http: support for path params from go 1.22 proposal by @eliottness in #3079
- contrib/net/http: Obfuscate query strings on http client spans by @mtoffl01 in #3071
- contrib/envoyproxy: fix empty request by @e-n-0 in #3089
- fix(staticcheck): Fix trivial go vet issues by @kakkoyun in #3091
- contrib/IBM/sarama.v1: skip integration test if env variable is not set by @rarguelloF in #3092
- ddtrace/tracer: Support DD_DOGSTATSD_HOST env var by @mtoffl01 in #3084
- contrib/IBM/sarama.v1: stop using mockbroker for tests by @rarguelloF in #3104
- contrib/internal/httptrace: add support for inferred proxy spans by @jordan-wong in #3052
- ktlo(ddtrace,contrib): don't use hardcoded FS paths on integration/telemetry tests by @darccio in #3122
- contrib/internal/httptrace: add telemetry for inferred spans by @zarirhamza in #3119
- Support valkey-go tracing by @keisku in #3081
- fix(net/http: orchestrion): obfuscate query string parameters when auto-instrumenting by @RomainMuller in #3127
- contrib/gorm.io/gorm.v1: fix orchestrion aspect by @rarguelloF in #3121
- contrib/database/sql: Close DB Stats goroutine on db.Close() by @mtoffl01 in #3025
- feat: implement origin detection by @darccio in #3124
Application Security Management (ASM)
- appsec: meta_struct Security Events by @eliottness in #3098
Test Optimization
- (fix) internal/civisibility/utils: improve environment tags mutability by @tonyredondo in #3076
- (fix) internal/civisibility: add some checks before performing the http requests. by @tonyredondo in #3087
- (feat) internal/civisibility: add support for testify Suites by @tonyredondo in #3094
- (fix) internal/civisibility: change http default values and reduce test time. by @tonyredondo in #3134
- (feat) internal/civisibility: add Known Tests feature and refactor EFD logic by @tonyredondo in #3139
- (fix) internal/civisibility: Fix test visibility on Go 1.24 by @tonyredondo in #3179
General
- fix: workaround for otel agent dependency causes orchestrion failure by @eliottness in #3066
- internal/remoteconfig: support for DD_REMOTE_CONFIGURATION_ENABLED by @eliottness in #3063
- internal/appsec: add fingerprint tests by @eliottness in #3068
- fix(ddtrace/tracer): fix panic in SQLCommentCarrier by @rarguelloF in #3062
- fix(ddtrace/tracer): avoid tests to fail with error "non-constant format string" from upcoming Go 1.24 release by @darccio in #3048
- WIP: Datadog Baggage API by @rachelyangdog in #3069
- chore(lint): Add "go vet" to golangci-lint by @kakkoyun in #3095
- fix(go.mod): clean up to remove dependency on deleted or unmaintained repositories: mitchellh/osext & chenzhuoyu/iasm by @darccio in #3099
- appsec: change log WAF 'too many event' from Warn to Error by @e-n-0 in #3100
- internal/telemetry: revert hostname.Get() -> os.Hostname() by @eliottness in #3101
- contrib/gofiber/fiber.v2: use UserContext in Middleware for span creation by @tonyduburque in #3035
- [contrib] add orchestrion integration configuration by @RomainMuller in #3074
- contrib/log/slog: avoid logging 0 value trace/span IDs by @rliebz in #2994
- chore: switch orchestrion CI to refer to main branch by @RomainMuller in #3110
- Add Service Extensions Macro Benchmarks by @e-n-0 in #3106
- Add Service Extensions system tests to CI by @e-n-0 in #3112
- github action: change semver detection for Service Extension by @e-n-0 in #3117
- ci: add codeowners to gotestsum report by @hannahkm in #3118
- tracer/stats: Only get CI tags when CI Visibility is enabled by @ajgajg1134 in #3129
- ddtrace/tracer: Fix panic on Extract when DD_TRACE_PROPAGATION_EXTRACT_FIRST=true and no trace headers present by @mtoffl01 in #3128
- Fix peer tags configuration by @ichinaski in #3132
New Contributors
- @kakkoyun made their first contribution in #3091
- @tonyduburque made their first contribution in #3035
- @tlhunter made their first contribution in #3046
- @rliebz made their first contribution in #2994
- @jordan-wong made their first contribution in #3052
- @keisku made their first contribution in #3081
- @ichinaski made their first contribution in #3132
Full Changelog: v1.71.0...v1.72.0