Skip to content

Releases: DataDog/dd-trace-rb

1.23.2

13 Jun 13:03
07bb120
Compare
Choose a tag to compare

Fixed

  • Profiling: Fix rpath for linking to libdatadog when loading from extension dir (#3683)

Read the full changeset and the release milestone.

2.1.0

10 Jun 22:32
7b867f6
Compare
Choose a tag to compare

Highlights

Added

  • Tracing: Configuration by OpenTelemetry environment variables (#3657)

Fixed

  • Tracing: Improved compatibility with W3C Trace Context propagation (#3631)

Read the full changeset and the release milestone.

2.0.0

06 Jun 13:11
ae63482
Compare
Choose a tag to compare

Upgrading

If you are using automatic instrumentation and mostly default configurations on Ruby 2.5+, you only need to update the name of the gem from ddtrace to datadog.

If you use custom instrumentation, additional configuration options, or have advanced usages, check out the upgrade guide for all upgrading details.

Highlights

Added

  • Add Agent configuration option: timeout_seconds, uds_path, and use_ssl (#3350)
  • Tracing: Add lightweight log correlation generation (#3486)
  • Tracing: Support span links (#3546, #3572)
  • Tracing: Add span_remote field to TraceDigest (#3516)
  • Tracing: Add _dd.parent_id to tracestate (#3488)
  • Tracing: Allow RateSampler with zero sampling rate (#3295)
  • Tracing: Add dynamically configurable sampling rules (#3598)
  • Tracing: Add sampling rule glob pattern matching (#3616)
  • Core: Add libdatadog crash tracker (#3384)
  • Grape: Add on_error settings (#3370)
  • Tracing: Remap http status code tag for otel span for trace metrics (#3664)

Changed

  • Rename gem from ddtrace to datadog (#3490)
  • Require Ruby >= 2.5 (#3291)
  • Frozen string literals (#3392)
  • Startup logs emit when reconfigures (#3441)
  • Enhance validation for configuration (#3332, #3326)
  • Tracing: Propagation style configuration becomes case-insensitive (#3299)
  • Tracing: Return string for #trace_id and #span_id from Correlation::Identifier (#3322)
  • Elasticsearch: Replace instance configuration from client to transport instance (#3399)
  • Grape: Change error_statuses settings to error_status_codes (#3370)
  • GraphQL: Instrument with GraphQL::Tracing::DataDogTrace and more (#3409, #3417, #3388)
  • Rack: Change http proxy span pattern (#3369)
  • Sidekiq: Remove tag_args option and worker specific configuration (#3396, #3402)
  • Integrations: Rename error_handler settings to on_error (#3341)
  • Profiling: Upgrade to libdatadog 9 (#3627)
  • Tracing: Cache ActiveRecord configuration resolver (#3630)

Fixed

  • Tracing: Fix error_status_codes options (#3344)
  • Core: Fix error during telemetry debug logging attempt (#3617)
  • OpenTelemetry: Fix attribute merge with Datadog tags (#3651)
  • Tracing: Fix environment logger repeated entries (#3624)

Removed

  • Profiling: Remove bin/ddtracerb (#3506)
  • Ci-app: Remove datadog-ci gem dependency (#3288)
  • Tracing: Remove SpanOperation aliases (#3330)
  • Tracing: Remove b3 style from default propagation (#3293)
  • Tracing: Minimize sampling API (#3423)
  • Tracing: Remove client_ip disabled env (#3404)
  • Tracing: Remove use alias for instrument (#3403)
  • Tracing: OpenTracing, qless removed (#3398, #3443)
  • Net/Http: Remove Datadog::Tracing::Contrib::HTTP::Instrumentation.after_request (#3367)
  • Rails: Drop support for Rails 3 (#3324)
  • Rails: Remove exception_controller option (#3243)
  • Remove constants, methods and more (#3401, #3336, #3454, #3338, #3335, #3298, #3297, #3309, #3294, #3325, #3300)

Read the full changeset and the release milestone.

1.23.1

06 Jun 10:07
0c68089
Compare
Choose a tag to compare

Fixed

AppSec: Fix undefined method error when Tracing disabled (#3650)

Read the full changeset and the release milestone.

2.0.0.rc1

24 May 21:06
b908262
Compare
Choose a tag to compare
2.0.0.rc1 Pre-release
Pre-release

Highlights

  • Tracing now supports dynamically configurable sampling rules and glob pattern matching for sampling rules.
  • The Tracing integration with OpenTelemetry now supports Span Links.
  • Profiling now reports endpoint profiling for Sidekiq and other background job processors. Also unused, deprecated Profiling settings were removed.

Added

  • Core: Add libdatadog crash tracker (#3384)
  • OpenTelemetry: Add support for Span Links (#3572)
  • Profiling: Enable endpoint profiling for Sidekiq and other background job processors (#3610)
  • Tracing: Add dynamically configurable sampling rules (#3598)
  • Tracing: Add sampling rule glob pattern matching (#3616)

Changed

  • Profiling: Upgrade to libdatadog 9 (#3627)
  • Tracing: Cache ActiveRecord configuration resolver (#3630)

Fixed

  • Core: Fix error during telemetry debug logging attempt (#3617)
  • OpenTelemetry: Fix attribute merge with Datadog tags (#3651)
  • Tracing: Fix environment logger repeated entries (#3624)
  • Appsec: Fix undefined method error when Tracing disabled (#3645)

Removed

  • Profiling: Remove profiler support for Ruby 2.3 and 2.4 (#3621)
  • Profiling: Remove deprecated profiler settings (#3597)

Read the full changeset and the release milestone.

1.23.0

09 May 15:03
cf264ae
Compare
Choose a tag to compare

Added

  • Profiling: Enable endpoint profiling for Sidekiq and similar background job processors (#3619)

Fixed

  • Fix no such file or directory issue when using single step instrumentation (#3623)
  • Fix error during telemetry debug logging attempt (#3618)

Read the full changeset and the release milestone.

2.0.0.beta2

18 Apr 09:37
28ca05d
Compare
Choose a tag to compare
2.0.0.beta2 Pre-release
Pre-release

Highlights

The gem has been renamed from ddtrace to datadog. Make sure to checkout https://github.com/DataDog/dd-trace-rb/blob/v2.0.0.beta2/docs/UpgradeGuide2.md for all upgrading details.

Added

  • Add Agent configuration option: timeout_seconds, uds_path, and use_ssl (#3350)
  • Tracing: Add lightweight log correlation generation (#3486)
  • Tracing: Add span links (#3546)
  • Tracing: Add span_remote field to TraceDigest (#3516)
  • Tracing: Add _dd.parent_id to tracestate (#3488)
  • Tracing: Allow RateSampler with zero sampling rate (#3295)
  • Grape: Add on_error settings (#3370)

Changed

  • Rename gem from ddtrace to datadog (#3490)
  • Require Ruby >= 2.5 (#3291)
  • Frozen string literals (#3392)
  • Startup logs emit when reconfigures (#3441)
  • Enhance validation for configuration (#3332, #3326)
  • Tracing: Propagation style configuration becomes case-insensitive (#3299)
  • Tracing: Return string for #trace_id and #span_id from Correlation::Identifier (#3322)
  • Elasticsearch: Replace instance configuration from client to transport instance (#3399)
  • Grape: Change error_statuses settings to error_status_codes (#3370)
  • GraphQL: Instrument with GraphQL::Tracing::DataDogTrace and more (#3409, #3417, #3388)
  • Rack: Change http proxy span pattern (#3369)
  • Sidekiq: Remove tag_args option and worker specific configuration (#3396, #3402)
  • Integrations: Rename error_handler settings to on_error (#3341)

Fixed

  • Tracing: Fix error_status_codes options (#3344)

Removed

  • Profiling: Remove bin/ddtracerb (#3506)
  • Ci-app: Remove datadog-ci gem dependency (#3288)
  • Tracing: Remove SpanOperation aliases (#3330)
  • Tracing: Remove b3 style from default propagation (#3293)
  • Tracing: Minimize sampling API (#3423)
  • Tracing: Remove client_ip disabled env (#3404)
  • Tracing: Remove use alias for instrument (#3403)
  • Tracing: OpenTracing, qless removed (#3398, #3443)
  • Net/Http: Remove Datadog::Tracing::Contrib::HTTP::Instrumentation.after_request (#3367)
  • Rails: Drop support for Rails 3 (#3324)
  • Rails: Remove exception_controller option (#3243)
  • Remove constants, methods and more (#3401, #3336, #3454, #3338, #3335, #3298, #3297, #3309, #3294, #3325, #3300)

Read the full changeset and the release milestone.

1.22.0

16 Apr 18:58
36e37fc
Compare
Choose a tag to compare

Added

  • Tracing: Add sampling rules by trace resouce and tags (#3587, #3585)
  • Appsec: Add WAF vendor header support (#3528)

Changed

  • Upgrade Telemetry to V2 (#3551)
  • Upgrade to libdatadog 7 (#3536)
  • Profiling: Enable Garbage Collection profiling by default (#3558)
  • Profiling: Skip heap samples with age 0 (#3573)
  • Profiling: Support falling back into extension directory when loading profiler (#3582)

Fixed

  • Appsec: Fix MIME-style newlines with strict base64 encoding (#3565)

Read the full changeset and the release milestone.

2.0.0.beta1

22 Mar 16:01
132a363
Compare
Choose a tag to compare
2.0.0.beta1 Pre-release
Pre-release

This gem has been renamed from ddtrace to datadog.

See https://github.com/DataDog/dd-trace-rb/blob/v2.0.0.beta1/docs/UpgradeGuide2.md for all upgrading details.

Read the full changeset and the release milestone.

1.21.1

20 Mar 19:19
210ed96
Compare
Choose a tag to compare

Added

  • Backports auto instrument shim with datadog/auto_instrument (#3535)

Fixed

  • Fix ActiveRecord resolving invalid string (#3523)
  • Revert http.route tagging to fix instrumentation failure for Rails 7.1 apps (#3539)
  • Fix wrong permissions on released gem files (#3531)

Read the full changeset and the release milestone.