Skip to content

2.4.0

Latest
Compare
Choose a tag to compare
@y9v y9v released this 11 Oct 15:09
· 13 commits to master since this release
14cdd6f

Highlights

  • Enable API Catalog for AppSec with added http.route tag
  • Add preview support for correlating profiling with otel ruby gem
  • Disable crashtracking by default due to an unexpected interaction with the Process.wait family of calls

Allocation Profiling is now GA

As of both version 2.3.0 and 2.4.0 the allocation profiling feature is now generally available.

See our announcement blog post for more details.

You can enable this feature by using the DD_PROFILING_ALLOCATION_ENABLED=true environment variable, or via code:

Datadog.configure do |c|
  # ... existing configuration ...
  c.profiling.allocation_enabled = true
end

GVL profiling for Ruby 3.2+ is now in preview

Inspired on "Understanding the Ruby Global VM Lock by observing it"
the profiler is now able to show when threads are waiting for the Ruby GVL.

You'll be able to spot when threads are prevented from working by other "noisy neighbor" threads, including background threads. See #3929 for screenshots and more details. Note that currently this feature requires Ruby 3.2+.

You can enable this feature by using the DD_PROFILING_PREVIEW_GVL_ENABLED=true environment variable, or via code:

Datadog.configure do |c|
  # ... existing configuration ...
  c.settings.profiler.advanced.preview_gvl_enabled = true
end

Added

  • Core: Allow changing sampling rate for customer defined tags and resources (#3956)
  • Profiling: Add GVL profiling for Ruby 3.2+ as a preview feature (#3929)
  • Profiling: Otel: Add preview support for correlating profiling with otel ruby gem (#3984)
  • Tracing: AppSec: Add http.route tag to Rails, Grape, and Sinatra integrations (#3849)
  • Tracing: Add capabilities to remote config: tracing sample rate, tracing logs injection, tracing http header tags (#3888)
  • AppSec: Add a force disable of AppSec feature when using Ruby >= 3.3 with old FFI gem version (#3969)

Changed

  • AppSec: Improve PII compliance (#3857)
  • AppSec: Integrations: Improve accuracy of login tracking for Devise (#3867)
  • Crashtracking feature is now disabled by default (#3970)

Fixed

  • AppSec: Integrations: Fix GraphQL instrumentation for query fragments (#3887)
  • Bug: Profiling: Fix (small) memory leak in profiler when forking (#3852)
  • Tracing: Integrations: Fix GraphQL integration reconfiguration (#3859)

Read the full changeset and the release milestone.