github DataDog/dd-trace-go v1.52.0

latest releases: v1.999.0-beta.7, v2.0.0-beta.7, internal/traceprof/traceproftest/v2.0.0-beta.6...
16 months ago

What's Changed

Application Security Management (ASM) updated its default blocking page templates to get rid of UTF-8 characters (HTML) and minify the content (JSON). The security rules have also been updated to the latest version, which introduces a new rule type for rules related to specific security scanners.

Application Performance Monitoring (APM) adds several new features, including support for confluent-kafka-go/v2/kafka, a WithResourceNamer option in contrib/go-chi/chi.v5, and support for the sql comment extract implementation. It also contains a few fixes, including introducing a fallback to dynamic service names if no global is found in contrib/google.golang.org/grpc, and removes the restriction requiring a call to Register before Open in contrib/database/sql.

Application Performance Monitoring (APM)

  • ddtrace/tracer: sql comment extract implementation by @barbinimichael in #1964
  • ddtrace/opentelemetry: Enabled OTel benchmark in CI by @dianashevchenko in #1970
  • contrib/google.golang.org/api: update google.golang.org/api version by @rarguelloF in #1971
  • contrib: add support for confluent-kafka-go/v2/kafka by @dferstay in #1889
  • contrib: peer.service precursors for confluentinc kafka integrations by @zarirhamza in #2008
  • contrib/google.golang.org/api: change gen_endpoints script to generate a json file by @rarguelloF in #2009
  • contrib: GRPC peer.service precursor tags by @zarirhamza in #1994
  • contrib: mongoDB peer.service precursor tags by @zarirhamza in #1996
  • contrib/hashicorp/* peer.service precursor tags by @zarirhamza in #1998
  • contrib/globalsign/mgo: Precursor Fix by @zarirhamza in #2011
  • contrib/go-chi: customize span resource name for go-chi by @opsengine in #1950
  • contrib/net/http: add host and port tags for roundTripper by @rarguelloF in #2016
  • contrib/database/sql: do not require users to Register before Open by @knusbaum in #2022
  • contrib/go-chi/chi.v5: add WithResourceNamer option by @taowata in #2024
  • contrib/google.golang.org/grpc: Fallback to dynamic service names if no global is found by @ajgajg1134 in #2048

Application Security Management (ASM)

  • internal/appsec: use latest HTML/JSON blocked response template by @Hellzy in #1952
  • internal/appsec: security rules v1.7.1 by @Hellzy in #2000

Profiling

  • profiler: remove old delta implementation by @nsrip-dd in #1860
  • profiler: add tag to indicate whether execution tracing is enabled by @nsrip-dd in #1997

General

  • go.mod: fix opentelemetry dependency issue by @knusbaum in #2005
  • ci: use reviewdog and use gci linter for imports instead of goimports by @rarguelloF in #2010
  • internal/gitmetadata: log failed read build info as debug by @ahmed-mez in #2012
  • internal/dockerfiles: Follow dockerfile security best practices by @ajgajg1134 in #1973
  • build(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.9.1 by @dependabot in #2017
  • go.mod: update datadog-agent/pkg/remoteconfig/state by @Hellzy in #2032
  • tracer: fix telemetry metrics to align with spec (#2049) by @katiehockman in #2052

New Contributors

Full Changelog: v1.51.0...v1.52.0

Don't miss a new dd-trace-go release

NewReleases is sending notifications on new releases.