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
- Fix returned OS name on Linux by @albertvaka in #1791
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
- .github/workflows: integrate APM E2E tests in Github Actions CI by @lambrospetrou in #1784
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)
- httpsec: handle client ip with multiple HTTP headers by @Julio-Guerra in #1796
- internal/appsec: update security rules to v1.6.0 (#1863)
Profiling
- profiler: increase timestamp precision by @felixge in #1689
- profiler: record timestamp at the start execution tracing by @nsrip-dd in #1766
- profiler: deprecate PprofDiff by @nsrip-dd in #1806
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)
New Contributors 🎉
- @VJean made their first contribution in #1763
- @samsm made their first contribution in #1779
- @lambrospetrou made their first contribution in #1784
- @albertvaka made their first contribution in #1791
- @tsbkw made their first contribution in #1635
- @johanneswuerbach made their first contribution in #1716
- @asdftamir made their first contribution in #1795
- @devillexio made their first contribution in #1546
- @pobo380 made their first contribution in #1564
Full Changelog: v1.48.0...v1.49.0