v1.67.0
Summary
In this release, Application Performance Monitoring (APM) introduces optimized W3C context propagation, reduced lock contention on Git metadata tags and support for span events in OpenTelemetry. It improves multiple contribs, see below, and releases a new one for uptrace/bun
. It also introduces multiple fixes, improves support for Orchestrion and deprecates hostname detection, now available behind a compatibility environment variable DD_TRACE_CLIENT_HOSTNAME_COMPAT=v1.66.0
.
Contribs updated in this release:
gocql/gocql
: support forMapScanCAS
and the Observer API, and bug fixed in cluster and datacenter tag values, old behaviour available behind compatibility environment variableDD_TRACE_GOCQL_COMPAT=v1.65
.gorm.io/gorm.v1
: adds parent span propagation.IBM/sarama.v1
: support for DSM.net/http
: support forrwUnwrapper
interface.uptrace/bun
: new contrib available.
Application Security Management (ASM) improves WAF run operations and upgrades go-libddwaf
.
Changes
Application Performance Monitoring (APM)
- ddtrace/tracer: setup GLS-stored context by @eliottness in #2761
- tracer: allow x-datadog headers to pass as header tags by @mtoffl01 in #2744
- internal: cache build info to reduce lock contention in GetGitMetadataTags by @darccio in #2770
- ddtrace/tracer,profiler: share agent default URL resolution logic by @nsrip-dd in #2719
- ddtrace/tracer: put hostname detection behind a compat environment variable by @darccio in #2786
- ddtrace/tracer: optimize textmap.composeTracestate by @darccio in #2794
- ddtrace/tracer: noDebugStack config reports to telemetry under distinct key debug_stack_enabled by @mtoffl01 in #2798
- ddtracer/tracer: fix appending 'tracer_version' to the statsd tags by @nsrip-dd in #2801
- Mtoff/span events by @mtoffl01 in #2780
- ddtrace/mocktracer: fix SetUser & WithUserMetadata by @eliottness in #2787
- ddtrace/tracer: Add test to ensure global config inherits statsd address when configured with tracer.WithDogstatsdAddress by @mtoffl01 in #2683
- ddtrace/tracer: update the tag naming convention for otel env var telemetry metrics by @khanayan123 in #2760
- ddtrace/tracer: update the expected telemetry tags for OTel env-var mapping by @mcculls in #2797
- [contrib/gocql] adding support for MapScanCAS in gocql (cassandra) by @ufoot in #2752
- contrib/uptrace/bun: initial implementation by @darccio in #2771
- contrib/net/http: implement rwUnwrapper by @rarguelloF in #2775
- [contrib/gocql] reporting both cluster and datacenter by @ufoot in #2577
- contrib/IBM/sarama.v1: add DSM support by @rarguelloF in #2788
- contrib/gorm.io/gorm.v1: propagate parent span by @System-Glitch in #2759
- contrib/jackc/pgx.v5: acquire release by @ngavinsir in #2722
- contrib/jackc/pgx.v5: publish pgxpool stats to statsd client by @bengentree in #2692
- contrib/gocql/gocql: implement observer api based tracing (#2805)
Application Security Management (ASM)
- internal/appsec: refactor simple WAF run operations by @eliottness in #2776
- upgrade go-libddwaf & appsec-internal-go and remove occurences of go 1.20 by @eliottness in #2782
General
- build(deps): bump github.com/vektah/gqlparser/v2 from 2.5.8 to 2.5.15 by @dependabot in #2755
- build(deps): bump github.com/gofiber/fiber/v2 from 2.52.1 to 2.52.5 by @dependabot in #2767
- build(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 by @dependabot in #2757
- internal/exectracetest: fix TestExecutionTraceSpans flakes by @nsrip-dd in #2769
- Add datadog static analyzer by @juli1 in #2741
- ci: upgrade golangci-lint 1.52.2 -> 1.59.1 by @eliottness in #2777
- Add instruction how to update Go version for macrobenchmarks by @ddyurchenko in #2793
New Contributors
- @juli1 made their first contribution in #2741
- @System-Glitch made their first contribution in #2759
- @ngavinsir made their first contribution in #2722
- @bengentree made their first contribution in #2692
- @mcculls made their first contribution in #2797
Full Changelog: v1.66.0...v1.67.0