github DataDog/dd-trace-go v1.30.0
1.30.0

latest releases: v1.70.0-rc.2, v1.999.0-beta.10, instrumentation/testutils/grpc/v2.0.0-beta.10...
3 years ago

This change comes packed with features and new integrations thanks to all the nice contributions, along with a few fixes.

Upgrades

  • ⚠️ Users of the profiler that call profiler.WithAPIKey() or set a DD_API_KEY environment variable will see a change in behaviour which could result in breaking their profiling integration. Profiles will now be uploaded through the agent running on localhost:8126. If you don't have an agent running there, please use profiler.WithAgentAddr() or the appropriate environment variables to configure the location of the agent. This commit has more details on the exact changes.

Features

  • internal: add support for Fargate 1.4 (#863)
  • contrib/gorilla/mux: add WithQueryParams and WithHeaderTags (#825)
  • contrib/go-chi/chi.v5: support go-chi/chi/v5 (#858) /thanks @johejo
  • contrib/confluentinc/confluent-kafka-go: add tracing for ReadMessage method (#880) /thanks @alebabai
  • profiler: Implement WithUploadTimeout (#852)
  • ddtrace/tracer: improve stack trace generation performance (#884)
  • contrib/go-redis/redis.v7: support for redis v7 package (#862)
  • ddtrace/tracer: improve Lamba performance (#898)
  • contrib/net/http: add Unwrap method for RoundTripper (#903) /thanks @bullgare
  • ddtrace/opentracer: add support for opentracing.TracerContextWithSpan Extension (#855) /thanks @shannontan-bolt
  • ddtrace/opentracer: consider FollowsFrom references as children (#905) /thanks @shannontan-bolt
  • contrib/database/sql.tracedConn implement driver.SessionResetter (#908) /thanks @kyfk

Fixes

  • contrib/globalsign/mgo: fix infinite loop (#874)
  • profiler: fix newlines breaking up log messages (#891)
  • ddtrace/tracer: follow noDebugStack setting when using SetTag with an error (#900)
  • contrib/Shopify/sarama: fix possible deadlock in WrapAsyncProducer (#907) /thanks @pellared

To view all changes check out new commits and the 1.30.0 milestone.

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

NewReleases is sending notifications on new releases.