Skip to content

2.18.0

Compare
Choose a tag to compare
@y9v y9v released this 04 Jul 10:38
· 360 commits to master since this release
574ced3

Highlights

Heap Profiling is now in Preview

The heap profiling feature is now in preview. With this release, we've done extensive performance improvements and improved data accuracy.

This feature requires Ruby 3.1+. You can enable it by using the DD_PROFILING_EXPERIMENTAL_HEAP_ENABLED=true environment variable, or via code:

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

(Note that this feature requires that allocation profiling is also enabled. To do so, set DD_PROFILING_ALLOCATION_ENABLED=true or c.profiling.allocation_enabled = true via code).

App & API Protection feature is now enabled by default

It provides unified visibility and security for your applications and APIs, helping you detect, investigate, and prevent threats.

Note

This feature billed as a part of Application Security and only if Application Security is enabled.

Added

  • Core: Add support for tracer configuration through Fleet Automation (#4651)
  • Core: Add Service Discovery capability, enabling the tracer to reliably determine which process are instrumented
  • AppSec: Add API Security with new sampling algorithm to the Rack, Rails, Sinatra and Grape frameworks (#4699)
  • Dynamic Instrumentation: Add instance variable capture to method and line probes (#4668)
  • Tracing: Add Rails view render times and database query times to the spans, when available (#4697)

Changed

  • AppSec: Enable API Security feature by default (#4756)
  • AppSec: Improve overall threat detection (#4757)
  • AppSec: Deprecate config.appsec.ip_passlist, config.appsec.ip_denylist, and config.appsec.user_id_denylist (#4757)
  • Profiling: Graduate Heap Profiling from alpha to preview (#4401, #4460)
  • Profiling: Add capturing of native filenames in backtraces (#4745)
  • Profiling: Clean up profiler logging (#4728)
    Tracing: Add support for DD_RUNTIME_METRICS_RUNTIME_ID_ENABLED to tag runtime metrics with the current runtime ID, allowing correlation across processes (#4718)
  • Tracing: Improve performance of http.route tag computation for Rails (#4688)

Fixed

  • AppSec: Fix authenticated users tracking in anonymization mode for Devise (#4731)
  • Dynamic Instrumentation: Fix source code display in live debugger (#4743)
  • Profiling: Fix profiler stopping due to bug in heap profiling serialization (#4721)

Read the full changeset and the release milestone.