v1.42.0
Summary
This release has several exciting features:
- Adds support for Go 1.19. Please note that this means Go 1.17 has maintenance support, and Go 1.16 has legacy support. See our version support policy for more details.
- Introduces support for propagation of trace context via SQL commenting. This experimental feature injects trace context information via sql comments in the sqlcommenter format. It is disabled by default and can be configured via the
DD_TRACE_SQL_COMMENT_INJECTION_MODE
environment variable or via theWithSQLCommentInjection()
option. - Introduces a
WithHostname
option for the profiler, which allows overriding the value used for the"host"
tag
Changes
General
- all: support latest go version 1.19 by @ajgajg1134 in #1410
APM
- contrib: Adding
WithCustomTag
to various integrations by @ajgajg1134 in #1359 - internal/telemetry: give user config priority over environment by @nsrip-dd in #1429
- contrib/database/sql: Add WithErrorCheck options by @soh335 in #1315
Database Management
- contrib/database/sql: add db service name tag and _dd.dbm_trace_injected span tag by @alexandre-normand in #1448
- contrib/database/sql: move trace context info to w3c trace context tags by @alexandre-normand in #1454
ASM
- appsec: update the security event rules to v1.4.0 by @Julio-Guerra in #1464
- appsec/waf: update libddwaf to v1.5.0 by @Julio-Guerra in #1460
Profiler
- profiler: add WithHostname option by @nsrip-dd in #1442
- profiler: log when profiler is stopped by @nsrip-dd in #1433
Full Changelog: v1.41.1...v1.42.0