github DataDog/dd-trace-go v1.51.0

latest releases: v1.68.0, v1.68.0-rc.2, v1.68.0-rc.1...
16 months ago

What's Changed

Application Performance Monitoring (APM) fixes a few minor OpenTelemetry-related bugs with W3C trace context propagation, 128 bit trace ids propagation, and the use of the Datadog OTel API. There are also bug fixes in contrib/database/sql, contrib/go-redis/redis.v8, and contrib/gomodule/redigo. It also improves span and service naming across several library integrations. Note that this release adds a deprecation notice to contrib/labstack/echo.
There are also several new features, including support for the redis/go-redis.v9 tracing integration and a new WithErrorCheck option in contrib/aws/aws-sdk-go.

Application Security Management (ASM) now allows users to configure their own custom security rules. These custom security rules get added to the list of security rules used by the In-App WAF. This release also includes a couple of bug fixes.

General

Application Performance Monitoring (APM)

  • ddtrace/tracer: don't set empty tracestate propagation tag by @ahmed-mez in #1910
  • ddtrace/{opentelemetry,opentracer}: add telemetry by @ahmed-mez in #1909
  • internal/telemetry: track tracer init time metric by @lievan in #1896
  • ddtrace/tracer: reset decision maker during fallback behavior of w3c header extraction by @ahmed-mez in #1933
  • ddtrace/tracer: ensure access to trace tags is concurrency-safe by @knusbaum in #1948
  • ddtrace/tracer: mark context updated when SetUser is called by @knusbaum in #1949
  • Set keyTraceID128 on first span in the chunk only by @dianashevchenko in #1946
  • ddtrace/opentelemetry: parent start span options shouldn't be propagated and used during child span creation by @dianashevchenko in #1958
  • contrib/mongodb: use naming schema by @rarguelloF in #1908
  • contrib/syndtr/goleveldb/leveldb: use naming schema by @rarguelloF in #1914
  • contrib/tidwall/buntdb: use naming schema by @rarguelloF in #1913
  • contrib/cassandra: use naming schema by @rarguelloF in #1911
  • contrib/redis: use naming schema by @rarguelloF in #1906
  • contrib/kafka: refactor tests by @rarguelloF in #1907
  • contrib/google.golang.org/grpc: use naming schema by @rarguelloF in #1919
  • contrib/twitchtv/twirp: use naming schema by @rarguelloF in #1920
  • contrib/http: use naming schema by @rarguelloF in #1929
  • contrib/redis/go-redis.v9: support v9 by @taowata in #1730
  • contrib/net/http: don't set empty string values as span tags by @knusbaum in #1956
  • contrib/internal/httptrace: remove naming schema from init by @rarguelloF in #1960
  • contrib/graphql: use naming schema by @rarguelloF in #1926
  • contrib/database/sql: fix bug where options were always overwritten by register options by @rarguelloF in #1904
  • contrib/aws: use naming schema by @rarguelloF in #1931
  • contrib/cloud.google.com/go/pubsub.v1: use naming schema by @rarguelloF in #1937
  • contrib/labstack/echo: Add warning and deprecation notice by @ajgajg1134 in #1974
  • contrib/gomodule/redigo: don't ignore the context given as first argument (#1935) by @lbcjbb in #1936
  • contrib/aws/aws-sdk-go: add WithErrorCheck option by @delca85 in #1682
  • contrib/go-redis/redis.v8: fix broken parsing of redis commands by @knusbaum in #1783
  • contrib: peer.service precursors for elasticsearch integrations by @zarirhamza in #1981
  • contrib: peer.service precursors for confluentinc/segmentio integrations by @zarirhamza in #1979
  • contrib/aws/aws-sdk-go-v2: add aws_service, region, and resourcename by @zARODz11z in #1888
  • internal/telemetry: trim the dependencies version prefix v by @Julio-Guerra in #1963

Application Security Management (ASM)

  • internal/appsec: handle user custom rules through remote config by @Hellzy in #1961
  • internal/appsec: fix user ID event detection & other appsec tests by @Hellzy in #1918
  • internal/appsec/remoteconfig: fix rules overrides by @Julio-Guerra in #1921
  • internal/appsec: do not ignore the appsec events rate limiter by @Julio-Guerra in #1927
  • internal/appsec: security rules v1.7.0 by @Hellzy in #1983
  • contrib/gin-gonic: abort context when the request is blocked by appsec by @Hellzy in #1976

Profiling

  • ddtrace/trace: only tag fully-covered spans as execution traced by @nsrip-dd in #1943
  • profiler: support reconfiguring execution tracing at runtime by @nsrip-dd in #1978

New Contributors

Full Changelog: v1.50.1...v1.51.0

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

NewReleases is sending notifications on new releases.