github DataDog/dd-trace-go v1.40.0

latest releases: v1.66.0-rc.1, v1.65.1, v1.65.1-rc.1...
23 months ago

Summary

This release adds the http.url tag to the list of collected security tags (documentation). This tag will now hold the full http request's URL for server requests instead of the http request's path, so be sure to check that it doesn't break anything on your side when switching over to this version.

Additionally, some more changes were made to a few contribs:

  • echo.v4: it is now possible to skip tracing for some endpoints using the WithIgnoreRequest option.
  • gocql: errors can now be selectively ignored using the WithErrorCheck option.
  • kafka-go: tracing of the FetchMessage() reader method is now possible.

A couple of improvements and fixes can also be found in the list of changes below.

Changes

General

  • go.mod: update github.com/gin-gonic/gin to v1.7.7 (#1341)
  • go.mod: bump several dependency versions to avoid vulnerabilities (#1338)

Tracer

  • contrib/gocql/gocql: add WithErrorCheck option (#1316)
  • contrib/labstack/echo.v4: add WithIgnoreRequest option (#1356), thanks @chrusty
  • contrib/segmentio/kafka-go: add tracing of FetchMessage() calls (#1283), thanks @roccoblues
  • contrib/net/http: copy request in RoundTrip (#1254)
  • ddtrace/tracer: fix race in SetOperationName (#1376)

ASM

  • contrib: store the http request's URL in span tags (#1350)

Full Changelog: v1.39.1...v1.40.0

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

NewReleases is sending notifications on new releases.