github DataDog/dd-trace-dotnet v1.22.0
1.22.0

latest releases: v3.43.0, v3.42.0, v3.41.0...
5 years ago

Changes

  • Automatic instrumentation for the RabbitMQ.Client library v3.6.9+ (#1081)
  • Runtime metrics on .NET Framework and .NET Core (#1101, #1074, additional PR's in the 1.21.1 Release)
  • Add configuration setting DD_HTTP_CLIENT_ERROR_STATUSES to set ranges of status codes that should trigger HTTP client spans to be marked as errors. The default value is 400-499 (#1123)
    • Example: DD_HTTP_CLIENT_ERROR_STATUSES=400-499,500
  • Add configuration setting DD_HTTP_SERVER_ERROR_STATUSES to set ranges of status codes that should trigger HTTP server spans to be marked as errors. The default value is 500-599 (#1123)
    • Example: DD_HTTP_SERVER_ERROR_STATUSES=404,500-599
  • Azure App Service improvements:
    • Log and disable tracing if DD_API_KEY is not set (#1109)
    • Send traces to trace agent via Windows Named Pipes (#1046, #1126, #1133)
  • Build infrastructure for performing automatic instrumentation by modifying the target method (a.k.a. CallTarget) instead of modifying the caller methods (#1007)
  • Refactor StringBuilderCache (#1103)

Fixes

  • Fix netcoreapp2.x automatic instrumentation shutdown bug (#1128)
  • Fix race condition in automatic instrumentation shutdown (#1125)
  • Fix SqlCommand.ExecuteNonQuery integration (#1120)
  • Fix flaky automatic instrumentation shutdown issues (#1117, #1124)

Performance Improvements

Build / Test

  • Build improvements
    • Update repo to use C# 9 and build pipelines to use .NET 5 SDK (#1089, #1102)
    • Improve non-Windows developer experience & update C++ toolchain (#1096)
    • Fix transient build errors by building targets serially (#1107)
    • Update Datadog agent container image in CI (#1111)
    • Resolve warnings from clang-tidy utility (#1118)
    • Fix path to benchmarks in unit-tests pipeline (#1127)
  • Unit test improvements
    • Mock the clock in the RateLimiter tests (#1088)
    • Add verbose assert message in DogStatsD tests (#1105)
    • Make cross-domain callback tests more resilient (#1097)
    • Fix logging tests (#1115)
    • Minimize race condition in RuntimeEventListener tests (#1113)
    • Fix potential multi-threaded issues in RuntimeMetricsWriter tests (#1121)
    • Catch all exceptions in HttpListener used for testing (#1122)
  • Integration test improvements
    • Run MongoDB tests on 2.11.* (#1119)
    • Add integration tests for runtime metrics (#1108)

Changes since 1.21.1

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

NewReleases is sending notifications on new releases.