Skip to content

v1.39.0

Compare
Choose a tag to compare
@Hellzy Hellzy released this 01 Jul 17:07
· 2 commits to release-v1.39.x since this release
9657559

Summary

With this release, the Go tracer now starts reporting a set of security monitoring tags for each server request without the need to enable ASM. Currently, the collected tags are http.client_ip, http.useragent, http.status_code and http.method, and more will come with future releases. More information about this can be found in the Datadog documentation.
Other additions include a new integration for the logrus logging package, and overriding the sampling decision of a trace
in downstream services is now possible. Additionally, a new tag aws.request_id was added to spans for the aws-sdk-go
integration. On top of this the tracer has a new option, WithUniversalVersion, which removes the limitation of having the service name
match the name defined when starting the tracer for version tracking.
Some more fixes and improvements were made which you can find in the changelog below.

Changes

Repo

  • ci: rename branch v1 into main (#1313)
  • go.mod: update DataDog/sketches-go to 1.2.1 (#1051)
  • go.mod: update several modules to avoid security flaws (#1330)

APM

  • contrib/gorm.io/gorm.v1: add context example (#1221)
  • ddtrace/tracer: fixed precedence ordering of configuration options (#1232)
  • ddtrace/tracer: allow changes of priority even when the root is non-local (#1241)
  • contrib/net/http: add dynamic resource naming (#1142)
  • aws: add request id to trace (#1266)
  • ddtrace/tracer: add WithUniversalVersion option (#1272)
  • contrib/sirupsen/logrus: Add context logging hook (#1240)
  • ddtrace/tracer: add sample_rate_limit field to startup log. (#1230)
  • ddtrace/tracer: handle parent-id header of 0 for synthetics (#1285)
  • contrib/internal/httptrace: set http.host tag on request Host not URL.host (#1327)
  • contrib/database/sql: sql comment tag injection experimental feature (#1226)
  • internal/telemetry: add missing fields to match spec (#1354)

ASM

  • contrib: store http.route in span tags (#1342)
  • contrib/internal/httptrace: store IP related request headers in span tags (#1346)
  • contrib/internal/httptrace: store client ip in span tags (#1328)
  • contrib: refactor http request span tags and store user agent in span tags (#1286)

Profiler

  • profiler: collect profiles concurrently (#1282)
  • profiler: rename pid tag to process_id (#1296)

Full Changelog: v1.38.1...v1.39.0