Skip to content

Releases: DataDog/dd-trace-rb

1.5.0

29 Sep 21:03
9d916d1
Compare
Choose a tag to compare

Deprecation notice

  • c.tracing.instrument :rack, { quantize: { base: ... } } will change its default from :exclude to :show in a future version. Voluntarily moving to :show is recommended.
  • c.tracing.instrument :rack, { quantize: { query: { show: ... } } will change its default to :all in a future version, together with quantize.query.obfuscate changing to :internal. Voluntarily moving to these future values is recommended.

See the Rack integration documentation for more details.

Added

  • Feature: Single Span Sampling (#2128)
  • Add query string automatic redaction (#2283)
  • Use full URL in http.url tag (#2265)
  • Add http.useragent tag (#2252)
  • Add http.client_ip tag for Rack-based frameworks (#2248)
  • Ci-app: CI: Fetch committer and author in Bitrise (#2258)

Changed

  • Bump allowed version of debase-ruby_core_source to include v0.10.17 (#2267)

Fixed

  • Bug: Fix service_nam typo to service_name (#2296)
  • Bug: Check AppSec Rails for railties instead of rails meta gem (#2293) (@seuros)
  • Ci-app: Correctly extract commit message from AppVeyor (#2257)

Read the full changeset and the release milestone.

1.4.2

27 Sep 21:25
83a6408
Compare
Choose a tag to compare

Fixed

OpenTracing context propagation (#2191, #2289)

Read the full changeset and the release milestone.

1.4.1

15 Sep 23:44
f319975
Compare
Choose a tag to compare

Fixed

  • Missing distributed traces when trace is dropped by priority sampling (#2101, #2279)
  • Profiling support when Ruby is compiled without a shared library (#2250)

Read the full changeset and the release milestone.

1.4.0

25 Aug 14:21
87cb8ad
Compare
Choose a tag to compare

Added

  • gRPC: tag grpc.client.deadline (#2200)
  • Implement telemetry, disable by default (#2153, #2233)

Changed

  • Bump libdatadog dependency version (#2229)

Fixed

  • Fix CI instrumentation configuration (#2219)

Read the full changeset and the release milestone.

1.3.0

04 Aug 19:53
7a74e23
Compare
Choose a tag to compare

Added

  • Top-level span being tagged to avoid duplicate computation (#2138)

Changed

  • ActiveSupport: Optionally disable tracing with Rails (@marcotc)
  • Rack: Resource overwritten by nested application (#2180)
  • Rake: Explicit task instrumentation to prevent memory bloat (#2174)
  • Sidekiq and DelayedJob: Add spans to improve tracing (#2170)
  • Drop Profiling support for Ruby 2.1 (#2140)
  • Migrate libddprof dependency to libdatadog (#2061)

Fixed

  • Fix OpenTracing propagation with TraceDigest (#2201)
  • Fix SpanFilter dropping descendant spans (#2074)
  • Redis: Fix Empty pipelined span being dropped (#757) (@sponomarev)
  • Fix profiler not restarting on Process.daemon (#2150)
  • Fix setting service from Rails configuration (#2118) (@agrobbin)
  • Some document and development improvement (@marocchino) (@yukimurasawa)

Read the full changeset and the release milestone.

1.2.0

11 Jul 14:13
26e011f
Compare
Choose a tag to compare

Added

  • Add Postgres (pg gem) instrumentation (#2054) (@jennchenn)
  • Add env var for debugging profiling native extension compilation issues (#2069)
  • Teach Rest Client integration the :split_by_domain option (#2079) (@agrobbin)
  • Allow passing request_queuing option to Rack through Rails tracer (#2082) (@KieranP)
  • Add Utility to Collect Platform Information (#2097) (@jennchenn)
  • Add convenient interface for getting and setting tags using [] and []= respectively (#2076) (@ioquatix)
  • Add b3 metadata in grpc (#2110) (@henrich-m)

Changed

  • Profiler now reports profiling data using the libddprof gem (#2059)
  • Rename Kernel#at_fork_blocks monkey patch to Kernel#ddtrace_at_fork_blocks (#2070)
  • Improved error message for enabling profiling when pkg-config system tool is not installed (#2134)

Fixed

  • Prevent errors in action_controller integration when tracing is disabled (#2027) (@ahorner)
  • Fix profiler not building on ruby-head (3.2) due to VM refactoring (#2066)
  • Span and trace IDs should not be zero (#2113) (@albertvaka)
  • Fix object_id usage as thread local key (#2096)
  • Fix profiling not working on Heroku and AWS Elastic Beanstalk due to linking issues (#2125)

Read the full changeset and the release milestone.

1.1.0

25 May 20:45
833bdc5
Compare
Choose a tag to compare

Application Security Monitoring for Ruby has reached General Availability.

Information on how to enable security monitoring in your Ruby application can be found here. Further configuration is available here.

Added

Changed

  • Support spaces in environment variable DD_TAGS (#2011)

Fixed

  • Fix "circular require considered harmful" warnings (#1998)
  • Logging: Change ddsource to a scalar value (#2022)
  • Improve exception logging (#1992)

1.0.0

02 May 22:20
a89d2b2
Compare
Choose a tag to compare

This release brings semantic versioning to ddtrace.

There are countless improvements since v0.54.2. Many defaults that have been updated to facilitate the onboarding experience and clean up your configuration file.

For a comprehensive guide when upgrading from 0.x to 1.0, see: https://github.com/DataDog/dd-trace-rb/blob/master/docs/UpgradeGuide.md

A special thank you goes to our 136 contributors, most of them not members of Datadog! 🙇

Changes since v1.0.0.beta2

Added

  • GraphQL 2.0 support (#1982)

Changed

  • AppSec: Update libddwaf to 1.3.0 (#1981)

Fixed

  • Rails log correlation (#1989) (@cwoodcox)
  • Resource not inherited from lazily annotated spans (#1983)
  • AppSec: Query address for libddwaf (#1990)

Refactored

Read the full changeset and the release milestone.

1.0.0.beta2

15 Apr 03:29
0176245
Compare
Choose a tag to compare

For upgrading from 0.x to 1.0, see our upgrade guide: https://github.com/DataDog/dd-trace-rb/blob/master/docs/UpgradeGuide.md

Added

Changed

  • Access to configuration settings is namespaced (#1922)
  • AWS provides metrics by default (#1976) (@dudo)
  • Update debase-ruby_core_source version (#1964)
  • Profiling: Hide symbols/functions in native extension (#1968)
  • Profiling: Renamed code_provenance.json to code-provenance.json (#1919)
  • AppSec: Update libddwaf to v1.2.1 (#1942)
  • AppSec: Update rulesets to v1.3.1 (#1965, #1961, #1937)
  • AppSec: Avoid exception on missing ruleset file (#1948)
  • AppSec: Env var consistency (#1938)

Fixed

Removed

  • OpenTelemetry extensions (Use OTLP instead) (#1917)

Refactored

Read the full changeset and the release milestone.

1.0.0.beta1

16 Feb 00:23
23ebe66
Compare
Choose a tag to compare