Skip to content

v2.49.0

Latest

Choose a tag to compare

@dd-octo-sts dd-octo-sts released this 13 Nov 11:26
· 35 commits to master since this release
4affdd9

Added

  • Tracing: Add a web_service_name option to the Rails integration, customizing the service name of frontend server request queuing spans; it defaults to 'web-server'. (#2716) (@Surgo)
  • Open Feature: Add per-subject experimentation opt-out with DD_FEATURE_FLAGS_EXPERIMENTATION_OPT_OUT_MODE=immediate|future_experiments_only and the dd_experimentation_opt_out_at evaluation context attribute. (#6521)
  • Open Feature: Add Datadog::OpenFeature::ExposureHook, which passes each flag evaluation with its exposure decision and the selected split's features to application code; register it with config.hooks << hook in OpenFeature::SDK.configure. (#6610)
  • Open Feature: Add DD_FEATURE_FLAGS_EXPOSURES_DATADOG_LOGGING_ENABLED (default true); set it to false to stop sending exposures to Datadog while Datadog::OpenFeature::ExposureHook keeps receiving them. (#6610)

Changed

  • Core: Shorten the path in debug and error log lines from the default logger. (#6650)
  • Tracing: Enable partial flushing by default so unfinished traces flush completed spans at the 500-span threshold. Restore complete-trace flushing with c.tracing.partial_flush.enabled = false in Datadog.configure. (#6572)
  • Dynamic Instrumentation: Live Debugger snapshots now capture all or no probes within one APM trace. (#6118)
  • Dynamic Instrumentation: Send the probed method name of snapshots as logger.method_name instead of logger.method, so the Logger Method facet in Log Management shows it; update queries, monitors, and dashboards that filter to use @logger.method_name. (#6539)
  • Dynamic Instrumentation: Send snapshots larger than 1 MB with their largest, most deeply nested captured values marked as pruned; snapshots that still exceed 1 MB after pruning are dropped. (#6655)
  • Open Feature: Send an exposure only after a flag evaluation succeeds, so a result rejected by an after hook is not reported; exposures now require openfeature-sdk 0.5.1 or later and the Datadog provider registered directly. (#6610)

Fixed

  • Tracing: Fix a thread stuck at 100% CPU when Rack::Timeout or another non-StandardError exception interrupts a starting span. (#6607)
  • Tracing: Fix the Rails integration replacing service_name, middleware_names, distributed_tracing and request_queuing set on the Rack integration when they are not set on the Rails integration. (#6644)
  • Tracing: Add support for the on_error option to the trilogy integration. (#6424) (@ctotheameron)
  • Profiling: Fix a rare crash when a profiled method is refined. (#6680)
  • AppSec: Fix missing RASP SQL injection checks for mysql2 adapter on ActiveRecord before 7.1 and postgresql adapter before 7.0. (#6630)
  • AppSec: Fix WAF::InstanceFinalizedError from ActiveRecord queries that run in ActionController::Live threads with RASP enabled. (#6648)
  • Open Feature: Prevent evaluation context keys containing NUL from matching ordinary feature flag targeting attributes, including when experimentation opt-out is disabled. (#6521)