github DataDog/dd-trace-go v1.64.0

latest releases: internal/traceprof/traceproftest/v2.0.0-beta.6, internal/setup-smoke-test/v2.0.0-beta.6, internal/exectracetest/v2.0.0-beta.6...
5 months ago

Summary

In this release, the tracer adds support for tag-based sampling in sampling rules set via remote configuration. See https://docs.datadoghq.com/tracing/trace_collection/runtime_config/ for more on remote configuration.
Additionally, the tracer now supports matching numeric values via span sampling rules, in addition to string values.
For example, [{"error_code": "4??", "sampling_rate":"0.01"}] will now match both the integer 403 and
the string `"403". String matches are now case-insensitive.

This release brings several bug fixes to the tracer, contrib packages, and remote configuration.

Changes

Application Performance Monitoring (APM)

Fixes

Application Performance Monitoring (APM)

  • docs: fix dbStats example in contrib/database/sql by @mtoffl01 in #2669
  • contrib/dimfeld/httptreemux.v5: fix route and name for 30X redirects by @darccio in #2685
  • contrib/database/sql: Disable DBStats if statsd client initialization fails by @mtoffl01 in #2682
  • fix: Don't call c.Error(...) inside echotrace middlewares by @nakkamarra in #2609
  • {ddtrace/tracer,datastreams}: set default agent TO to 10s by @ahmed-mez in #2655
  • internal/remoteconfig: fixes data race when accessing capabilities by @SvenGasterstaedt in #2652
  • ddtrace/tracer: fix calculation of tracestate length by @bouwkast in #2585
  • ddtracer/trace: if tracing disabled don't call agent to get features by @bstncartwright in #2482
  • ddtrace/tracer: fix sampling rule override for manual keep by @dianashevchenko in #2666
  • internal: Fixing _dd.p.dm decision maker collision on number 10. by @yuanyuanzhao3 in #2672
  • ddtrace/tracer: remove agent_psr when rule_psr is set by @dianashevchenko in #2668

New Contributors

Full Changelog: v1.63.1...v1.64.0

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

NewReleases is sending notifications on new releases.