Changes
- Automatic instrumentation for the
RabbitMQ.Clientlibrary v3.6.9+ (#1081) - Runtime metrics on .NET Framework and .NET Core (#1101, #1074, additional PR's in the 1.21.1 Release)
- This feature is currently in private beta. If interested, please reach out to support@datadoghq.com.
- Add configuration setting
DD_HTTP_CLIENT_ERROR_STATUSESto set ranges of status codes that should trigger HTTP client spans to be marked as errors. The default value is400-499(#1123)- Example:
DD_HTTP_CLIENT_ERROR_STATUSES=400-499,500
- Example:
- Add configuration setting
DD_HTTP_SERVER_ERROR_STATUSESto set ranges of status codes that should trigger HTTP server spans to be marked as errors. The default value is500-599(#1123)- Example:
DD_HTTP_SERVER_ERROR_STATUSES=404,500-599
- Example:
- Azure App Service improvements:
- 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