Skip to content

2.32.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Jun 09:07
· 1530 commits to master since this release
b44416f

⚠️ This release contains a known issue with DD_DBM_PROPAGATION_MODE. The issue is resolved in version 2.35.0.
Enabling DD_DBM_PROPAGATION_MODE may cause runtime errors in your application if you set the CommandType property on DbCommand to CommandType.StoredProcedure. If you suspect your application or a dependent library is using stored procedures, and you are currently using this release, don't enable DD_DBM_PROPAGATION_MODE until upgrading to 2.35.0+.

Summary

  • Trimmed apps support: You can now instrument trimmed apps by including the Datadog.Trace.Trimming nuget package to your project. This is a pre-release, do not hesitate to share feedback through Github issues.
  • AWS SDK SNS is now supported by the tracer. Edit: We discovered an issue with the current implementation of AWS SDK SNS support. A fix for this will be included in the next tracer release. For more details see link to issue and link to PR.

Changes

Tracer

  • Add app trimming support (Datadog.Trace.Trimming nuget package) (#4195)
  • [Tracer] Add TraceClock implementation as a DateTimeOffset.UtcNow optimization (#4212)
  • [Tracer] Fix TracerManager initialization when replaced (#4218)
  • [Tracer] AWS SDK SNS integration (#4084)
  • [Tracer] v0 Schema: Add opt-in configuration for peer.service and client service name removal (#4207)
  • [Tracer] v1 Schema: Add peer.service tag to HttpClient and WebRequest spans (#4174)
  • [Tracer] v1 Schema: Add peer.service tag to AdoNet spans (#4176)
  • [Tracer] v1 Schema: Update operation name for WCF server integration (#4216)
  • [Tracer] v1 Schema: Update operation name for gRPC server integration (#4217)
  • [Tracer] v1 Schema: Update Elasticsearch spans (#4254)

CI Visibility

  • [CIVisibility] Fix repository and branch extraction in ITR and GitUpload (#4272)

ASM

  • [ASM] SqlInjection instrumented tests (EF, Sqlite, Dapper, SqlCommand, Linq2db) (#4168)
  • [ASM] .NET Framework response headers (#4173)
  • [ASM] static hash code for strings & ints (#4178)
  • [ASM] User events auto instrumentation in .Net Core (#4184)
  • [ASM] Instrumented tests for MySql, Oracle and Postgress (#4206)
  • [ASM] Netcore response headers passed to the WAF (#4209)
  • [ASM] Improve support of uri and response status addresses (#4211)
  • [ASM] Make library invoker static (#4240)
  • [ASM] Instrument all string methods (#4253)
  • [ASM] Sample little fixes , sign out action hiding controller base member (#4270)
  • [IAST] Update evidence redaction suite . yml and fixes accordingly (#4205)

Continuous Profiler

  • [Profiler] Fix warnings in the profiler (#4090)
  • [Profiler] Avoid exceptions in code hotspots tests to reduce flacky tests (#4197)
  • [Profiler] Try to avoid a race condition in named pipe tests (#4199)
  • [Profiler] Fix reading from named pipe (#4222)
  • [Profiler] Introduce IThreadInfo interface (#4233)
  • [Profiler] Remove dead code (#4234)
  • [Profiler] Add http client to download files as demo app (#4244)
  • [Profiler] Try fixing code hotspots tests (#4250)
  • [Profiler] Allow lock contention provider to upscale by duration instead of by count (#4263)
  • [Profiler] Add labels to send raw lock contention data (i.e., before upscaling for timeline) (#4268)

Debugger

  • [Dynamic Instrumentation] Added the ability to dynamically add tags to APM spans from method parameters or return values (#4098)

Telemetry and Remote Configuration

  • Add bulk of telemetry V2 implementation (#4188)
  • Allow enabling v2 telemetry (#4198)
  • Update PublicApiGenerator + minor telemetry updates (#4214)
  • Delay recording of TracerSettings in configuration telemetry (#4221)
  • Add [GeneratePublicApi] to TracerSettings (#4232)
  • Update Telemetry Metrics implementation for performance (#4251)
  • Add telemetry to public settings (#4259)
  • Public API telemetry (#4257)
  • Small telemetry updates from feedback (#4258)
  • Ensure dependency collector persists across telemetry controllers (#4255)
  • Move RCM initialization in the TracerManager (#4202)
  • Update RCM and Telemetry poll settings (#4262)
  • [RCM] In the agent TargetsVersion is a uint64 (#4208)
  • Introduce per-trace settings (#4229)

Fixes

  • Fix NullReferenceException in GitMetadataTagsProvider (#4194)
  • Fix "GitMetadataTagsProvider.TryExtractGitMetadata Extremely Slow" (#4248)
  • Avoid making excessive & unnecessary calls to TryGetGitTagsFromSouceLink (#4249)
  • Fix <Module> type loader injection (#4274)

Build / Test

  • Disable nullable warnings in trimming app (#4266)
  • Swap Samples.GrpcLegacy to use .NET Activity (#3879)
  • Swap Samples.MongoDB to use Activity (#4097)
  • Disable parallelization for LargePayloadTests integration tests (#4185)
  • Fix benchmark tests (#4210)
  • Include CreateRootDescriptorsFile as a dependency of BuildTracerHome (#4260)
  • Fix build break that was introduced when we merged the gRPC server ch… (#4239)
  • Fix build: Update Trimming.xml and add missing NuGets to IntegrationGroups (#4245)

Miscellaneous

  • Refactor cache classes to avoid emitting new methods (#4192)
  • Stop using Serilog.Log (#4242)
  • Add the prerelease flag to the App trimming support (#4246)
  • Fix nesting of Samples.AWS.SimpleNotificationService project (#4252)
  • Fix explicit interface methods instrumentation (#4264)
  • Fixes and tests for telemetry (#4265)
  • Fix TraceClock ctor() (#4275)

Changes since 2.31.0