Skip to content

1.21.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Mar 16:03
· 2273 commits to master since this release
9056b6c

Highlights

Beta support for Allocation Profiling

Allocation profiling is now in beta! You can use these to optimize your application to allocate and less memory.

You can enable this feature by using the DD_PROFILING_ALLOCATION_ENABLED=true environment variable.

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

The settings above replace the configurations with "experimental" in their name that were introduced in past releases.

Profiler timeline feature is now on by default

The Profiler now gathers data for the new Timeline view by default.

The Timeline view allows you to look at time-based patterns and work distribution over the period of a single profile: you can look at what individual threads were doing, and when 🎉

You can use the timeline view both when looking at individual profiles, as well as when scoped to a given trace.

Changelog

Added

  • APM source code integration (#3463)
  • Core: Reduce startup logs verbosity (#3468)
  • Tracing: Add Concurrent::Async instrumentation (#3427)
  • Profiling: System info support (#3357)
  • Profiling: Add bin/ddprofrb (#3501)

Changed

  • Bump datadog-ci dependency to 0.8.1 (#3518)
  • Upgrade to libdatadog 6 (#3455)
  • Core: Allow suppressing error logs for Core::Remote::Negotiation (#3495)
  • Tracing: Add http.route tag to rack (#3345)
  • Tracing: Logs deprecation warning for use removal (#3438)
  • Profiling: Allocation sampling overhead improvements (#3434, #3440)
  • Profiling: Enable timeline by default (#3428)
  • Profiling: Rename Profiling files to reflect "datadog" instead of "ddtrace" (#3502)
  • Profiling: Replace profiling.advanced.experimental_allocation_enabled with profiling.allocation_enabled and remove experimental warning (#3520)

Fixed

  • Core: Fix rare remote configuration worker thread leak (#3519)
  • Tracing: Fix Datadog::Tracing.reject! with correct metrics (#3491)
  • Tracing: Guard PG result with nil check (#3511)
  • Profiling: Add workaround for Ruby VM bug causing crash in gc_finalize_deferred (#3473)
  • Profiling: Fix missing profiling code hotspots when using ddtrace+otel (#3466)
  • Profiling: Stop worker on clock failure (#3439)
  • Profiling: Upgrade libdatadog to fix incorrect platform detection for x86_64-linux-gnu/aarch64-linux-gnu (#3503)

Read the full changeset and the release milestone.