Skip to content

v1.49.0

Compare
Choose a tag to compare
@ajgajg1134 ajgajg1134 released this 04 Apr 16:00
· 3 commits to release-v1.49.x since this release

Summary

Application Performance Monitoring (APM) ships various new features and bug fixes such as support for elastic/go-elasticsearch/v8 and for dimfeld/httptreemux/v5. Additional features include new tags for mssql in database/sql, and new tags for mgo. This release also includes a bug fix to how baggage is propagated when using W3C trace context injection/extraction.

Application Security Monitoring (ASM) adds support for multiple IP-related HTTP headers as well as fixing HTTP status code reporting for blocked users in labstack/echo.

Telemetry information is now enabled by default, to disable set DD_INSTRUMENTATION_TELEMETRY_ENABLED to false. Additional information can be found here.

Breaking Changes

This change fixes our lookup of OS name in linux systems that is used for our startup logging. If you are parsing those startup logs and relying on the value of os_name you may experience a breaking change as the value may shift from "Linux (Unknown Distribution)" to the now correctly identified OS name.

The PprofDiff function is deprecated and will be removed from the profiler package in the next release.

Changes

General

Application Performance Monitoring (APM)

  • contrib/database/sql: add mssql instance name tag by @rarguelloF in #1731
  • contrib/globalsign/mgo: add mongodb collection tag by @rarguelloF in #1725
  • contrib/elastic/go-elasticsearch: Add support for elasticsearch v8 (Follow-up) by @VJean in #1763
  • tracer: small refactor for SQL tracing by @katiehockman in #1777
  • database/sql: Export TracedConn, as we need it when using the db.Conn Raw() API call. by @samsm in #1779
  • contrib/google.golang.org/{grpc, grpc.v12}: add support for WithSpanOptions by @mackjmr in #1159
  • internal/telemetry: enable instrumentation telemetry in the tracer and profiler by @lievan in #1769
  • contrib/julienschmidt/httprouter: add http.route tag to span by @asdftamir in #1795
  • contrib/dimfeld/httptreemux/v5: add support for httptreemux by @devillexio in #1546
  • contrib/net/http: errCheck function by @johanneswuerbach in #1716

Application Security Management (ASM)

Profiling

Fixes & Improvements

General

  • go.mod: upgrade golang.org/x/net by @katiehockman in #1747
  • internal/hostname: Add tracer side hostname detection by @ajgajg1134 in #1712 This can be disabled by setting DD_CLIENT_HOSTNAME_ENABLED to false
  • go.mod: Bump deps that used otel to not need v0 of otel by @ajgajg1134 in #1787
  • .gitlab/scripts: add more benchmarks to benchmarking platform by @lievan in #1672
  • profiler: document/test that Start restarts the profiler by @nsrip-dd in #1805
  • ci: run pull request workflows for merge groups by @nsrip-dd in #1809
  • internal/log: allow RecordLogger to ignore certain logs by @lievan in #1810
  • go.mod: upgrade datadog-agent/pkg/obfuscate by @felixge in #1774
  • ddtrace/tracer: fix a race condition on span.SetUser by @pobo380 in #1564

Application Performance Monitoring (APM)

  • contrib/database/sql: Fix sample code in document to prevent panic on OpenDB by @tsbkw in #1635
  • ddtrace/tracer/textmap: always extract baggage when using w3c for compatability by @ajgajg1134 in #1759
  • ddtrace/tracer: fix traceparent length check by @ahmed-mez in #1815

Application Security Monitoring (ASM)

  • contrib/echo: appsec: fix status code reporting when blocking users by @Hellzy in #1757

New Contributors 🎉

Full Changelog: v1.48.0...v1.49.0