github DataDog/dd-trace-go v1.57.0

latest releases: v1.70.0-rc.2, v1.999.0-beta.10, instrumentation/testutils/grpc/v2.0.0-beta.10...
12 months ago

Summary

In this release, Application Performance Monitoring (APM) will now correctly honor the trace context propagation style precedence, where previously W3C tracecontext style would always take precedence even when a user specifies it later in the chain. This is a bug fix to align with expected behavior, but could potentially be a breaking change for customers relying on W3C trace context propagation.

Other APM changes include deprecation of the old Gorm libraries (gopkg.in/jinzhu/gorm.v1 and jinzhu/gorm), and fixes for net/http contrib to now honor WithHeaderTags in WrapHandler, the http.route tag to be correctly collected in all relevant libraries.

Changes

Application Performance Monitoring (APM)

  • contrib: implement http.route in missing contribs by @rarguelloF in #2234
  • contrib/(github and gopkg)/gorm: Mark as deprecated by @ajgajg1134 in #2304
  • go.mod: bump github.com/DataDog/datadog-agent/pkg/obfuscate to v0.48.0 by @ahmed-mez in #2256
  • go.mod: bump otelhttp to v0.44.0 by @ahmed-mez in #2274
  • [deps] update datadog-agent version to stable by @ufoot in #2308
  • build(deps): bump google.golang.org/grpc from 1.57.0 to 1.57.1 by @dependabot in #2294
  • tracer.startTestTracer: Call SetServiceName("") when stopping by @evanj in #2260
  • tracer: call SetServiceName("") from tests to reset globals by @evanj in #2270
  • ddtrace/tracer: encode span IDs in execution traces efficiently by @nsrip-dd in #2268
  • Add dd-trace-go macrobenchmark to CI pipeline by @igoragoli in #2285
  • remoteconfig: make rc client a singleton by @ahmed-mez in #2297
  • contrib/net/http: honor WithHeaderTags in WrapHandler by @sudolibre in #2288

Application Security Management (ASM)

Profiler

General

  • ci: use older Windows for Go 1.19 tests by @nsrip-dd in #2250
  • workflows: automatically label ecosystems issues and PRs by @katiehockman in #2254
  • build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 by @dependabot in #2264
  • source-code-integration: Remove credentials from git repository url. by @lraucy in #2296

Fixes

Application Performance Monitoring (APM)

  • tracer: honor tracecontext propagation style precedence by @purple4reina in #2252
  • tracer TestUserMonitoring: Wait for goroutines before test completes by @evanj in #2263
  • tracer TestWithHeaderTags: Clear header tags to work with -count=2 by @evanj in #2262
  • tracer: TestAgentIntegration: Clean up state for -count=2 by @evanj in #2261
  • tracer: Fix TestMalformedTID so it passes on its own by @evanj in #2257

General

  • internal/log: fix potential integer conversion issue from parsed value by @darccio in #2289

New Contributors

Full Changelog: v1.56.1...v1.57.0

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

NewReleases is sending notifications on new releases.