github DataDog/dd-trace-go v1.69.0

one day ago

This release offers a lot of QOL changes and fixes for DataStreams Monitoring (DSM) and for two contribs: 99designs/gqlgen and aws/aws-sdk-go-v2/. Application Security now offers new attacker fingerprinting capabilities and support for entire read-only filesystem on linux

Important

If you are using gopkg.in/DataDog/dd-trace-go.v1/contrib/net/http.WrapRoundTripper, you can expect new errors to be reported in the span generated by your outgoing HTTP requests. The behaviour expected across all tracers was to report status codes between 400 and 500 as errors. Meanwhile dd-trace-go was reporting errors when the status code was between 500 and 600, this is now fixed. To revert to the previous behaviour. Please use the following environement variable: DD_TRACE_HTTP_CLIENT_ERROR_STATUSES=500-600

What's Changed

Application Performance Monitoring (APM)

  • contrib/aws/aws-sdk-go-v2/aws: Fix streamName nil pointer panic by @webdestroya in #2846
  • contrib/99designs/gqlgen/tracer.go: nil check response by @dienvoandpadcojp in #2792
  • Fix and Feature: Make configuration options consistent across tracing libraries: @mtoffl01 in #2873
    • cf-connecting-ipv6 replaces cf-connecting-ip in HTTP headers tracked for http.client_ip tag when DD_TRACE_CLIENT_IP_ENABLED is set to true
    • DD_TRACE_HTTP_CLIENT_TAG_QUERY_STRING: Boolean that determines whether or not to include query params in http.url tag for http client spans
    • DD_TRACE_HTTP_CLIENT_ERROR_STATUSES: Customize errors on http client spans
    • DD_TRACE_HTTP_CLIENT_ERROR_STATUSES: Customize errors on http server spans

Application Security Management (ASM)

Profiling

  • profiler: avoid metrics profile log noise when stopping profiling by @nsrip-dd in #2865

CI Visibility

  • internal/civisibility/utils/net: a new http client for rapid endpoints by @tonyredondo in #2869
  • internal/civisibility: adds the new vcpu_count metric for tslv events by @tonyredondo in #2883
  • internal/civisibility: change the default value for DD_CIVISIBILITY_ENABLED to false by @tonyredondo in #2893
  • internal/civisibility/integrations/gotesting: add the DD_CIVISIBILITY_ENABLED kill switch environment variable by @tonyredondo in #2861
  • internal/civisibility: test session logical names by @tonyredondo in #2904
  • internal/civisibility: automatic test retries by @tonyredondo in #2892
  • internal/civisibility: fixes the test parent status when the auto-retry feature ended up with a failed test and then a successful test. by @tonyredondo in #2910
  • internal/civisibility: add support for the test.source.end tag by @tonyredondo in #2911
  • internal/civisibility: add and improve debug logs by @tonyredondo in #2912
  • internal/civisibility/integrations/gotesting: fixes for orchestrion autoinstrumentation by @tonyredondo in #2844
  • internal/civisibility/integrations/gotesting: improve the isCiVisibilityEnabled and enable reporting Code Coverage percentage. by @tonyredondo in #2866

General

  • internal/stacktrace: upgrade tinylib/msgp and add stacktrace.GetSpanValue by @eliottness in #2864
  • Regenerate stats payload to add is_trace_root by @ajgajg1134 in #2856
  • ddtrace/tracer: update log msg to accurately count dropped traces by @hannahkm in #2845
  • internal/datastreams: fix Processor goroutine leaks by @ggambetti in #2880

New Contributors

Full Changelog: v1.68.0...v1.69.0

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

NewReleases is sending notifications on new releases.