github DataDog/dd-trace-dotnet v3.40.0
3.40.0

4 hours ago

Summary

  • [Runtime Metrics] Enables Runtime Metrics by Default for .NET 6+ (#8267)
  • [Tracing] Add interoperability between the Datadog Baggage API and the OpenTelemetry Baggage API (#7921)
  • Add support for Microsoft.Data.SqlClient 7.x.x (#8346)

Changes

Tracer

  • Refactor log directory resolution into smaller methods, add tests (#7255)
  • Adjust Log levels in OltpExporter (#8133)
  • [Metrics] Fixing sync-over-async patterns in DogStatsD Client Fork (#8265)
  • Add _dd.svc_src meta tag to track service name source (#8274)
  • Add process tags to service discovery (#8295)
  • Add "manual" service source (#8302)
  • ServiceNameSource for inferred proxy (#8309)

CI Visibility

  • [CI Visibility] honor EFD retry mode over ATR (#8288)

Continuous Profiler

  • [Profiler] Add unit tests for ManagedCodeCache (#8307)

Debugger

  • [Dynamic Instrumentation] DEBUG-5317 fix snapshot stackoverflow in collection (#8310)
  • [Dynamic Instrumentation] Add detailed diagnostics for line probe resolution (#8316)

Fixes

  • More remote config performance improvements (#8241)
  • WCF cleanup and trace context extraction (#8263)

Data Streams Monitoring

  • Support adding kafka_cluster_id for Confluent.Kafka (#7702)
  • [DSM] Include container tags hash in node hash calculation (#8163)

Miscellaneous

  • [Tracing] Add interoperability between the Datadog Baggage API and the OpenTelemetry Baggage API (#7921)
  • [Process Tags] Explicit whether the service name is the default one (#8106)
  • Add an IArrayPool<char> implementation for vendored Newtonsoft.JSON (#8228)
  • Use IArrayPool in more places for JSON (#8236)
  • Remote configuration tests and performance improvements (#8237)
  • Reduce payload size sent by agent in remote config (#8238)
  • [Agent Skill] Rename to analyze-azdo-build, add retry support, and more (#8247)
  • [Metrics] Send Diagnostics GC Pause Time as Counter instead of Timer (#8266)
  • [Runtime Metrics] Enables Runtime Metrics by Default for .NET 6+ (#8267)
  • Rename telemetry GetData methods to GetIncrementalData (#8269)
  • Remove unnecessary use of duck typing in HTTP integrations (#8275)
  • Exclude Otel for MongoDb 3.7 (#8279)
  • Detect whether an app has been trimmed (#8281)
  • [Agent Docs] Clean up AGENTS.md: fix stale reference, consolidate structure (#8290)
  • Add some documentation on running system-tests (#8298)
  • Update local smoke testing docs (#8311)
  • [Tracer] Add Component Tag to Quartz Instrumentation (#8315)
  • [AI Agents] Remove plugin settings from shared Claude Code config (#8343)
  • Add support for Microsoft.Data.SqlClient 7.x.x (#8346)
  • Attempt to fix macOS runner native build (#8348)

Build / Test

  • (CI) Migrating benchmark-serverless CI job to short-lived tokens (#8219)
  • Update Wix to 5.x.x (#8268)
  • Allow generating a snapshot of the MSI contents (#8270)
  • Move running of smoke tests to Nuke (#8271)
  • Enable performance analyzers for Datadog.Trace (#8276)
  • [Test Package Versions Bump] Updating package versions (#8278)
  • Retry ChromeDriver startup in Selenium tests (#8284)
  • Fix Datadog.Trace.Annotations dependency version in Datadog.AzureFunctions nuspec (#8285)
  • Ban SetVersion/SetVersionPrefix/SetVersionSuffix in Nuke Build (#8289)
  • Only allow creating hotfix branches from a tag (#8297)
  • Bump test dependencies and add test.final_status to benchmark exporter (#8301)
  • Update FeatureFlagsEvaluator and Debugger ToUUID to not violate CA1850 (#8303)
  • [Test Package Versions Bump] Updating package versions (#8306)
  • Relax concurrent TagsList stress test (#8317)
  • Replace our custom GitHub App Token with dd-octo-sts (#8318)
  • Fix GeneratePackageVersions so that it correctly respects IncludePackages and ExcludePackages (#8340)

Changes since 3.39.0

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

NewReleases is sending notifications on new releases.