Skip to content

Releases: DataDog/dd-trace-rb

0.14.0.beta2

25 Jul 08:39
Compare
Choose a tag to compare
0.14.0.beta2 Pre-release
Pre-release

0.14.0.beta1

24 Jul 15:29
Compare
Choose a tag to compare
0.14.0.beta1 Pre-release
Pre-release

Changed

  • Resque to flush traces when Job finishes instead of using SyncWriter (#474)
  • ActiveRecord to allow configuring multiple databases (#451)
  • Integrations configuration settings (#450, #452, #451)

Fixed

  • Ruby warnings during tests (#499)
  • Tests failing intermittently on Ruby 1.9.3 (#497)

Added

  • DelayedJob integration (#393 #444)
  • Version information to integrations (#483)

Read the full changeset

0.13.1

17 Jul 17:04
e13cd29
Compare
Choose a tag to compare

Changed

Fixed

  • Workers not shutting down quickly in some short running processes (#475)
  • Missing documentation for mysql2 and Rails (#476, #488)
  • Missing variable in rescue block (#481) (@kitop)
  • Unclosed spans in ActiveSupport::Notifications with multithreading (#431, #478) (@senny)

Read the full changeset and the release milestone.

0.13.0

20 Jun 18:06
862314f
Compare
Choose a tag to compare

Changes to quantization

Quantization behavior for MongoDB can be configured: see the API documentation for Mongo

Changelog

Added

Fixed

  • Excon close spans on errors (#426) (@jeffjo)
  • Elasticsearch improve quantization of ids (#458)
  • Mongo allow enabling quantization of collection name (#463)

Refactored

  • Hash quantization into core library (#410)
  • Mongo uses Hash quantization library (#463)

Changed

  • Hash quantization truncates arrays with nested objects (#463)

Read the full changeset and the release milestone

0.12.1

12 Jun 16:40
3692677
Compare
Choose a tag to compare

Changed

  • Cache configuration Proxy objects (#446)
  • freeze more constant strings, to improve memory usage (#446)
  • Utils#truncate to use slightly less memory (#446)

Fixed

Refactored

  • ActionController patching strategy using modules. (#439)
  • ActionView tracing strategy. (#445, #447)

Read the full changeset and the release milestone.

0.13.0.beta1

08 May 19:17
a50ff58
Compare
Choose a tag to compare
0.13.0.beta1 Pre-release
Pre-release

Read the full changeset.

Added

  • Sequel integration (supporting Ruby 2.0+) (#171) (@randy-girard, @twe4ked)
  • gRPC integration (supporting Ruby 2.2+) (#379, #403) (@Jared-Prime)
  • ActiveModelSerializers integration (#340) (@sullimander)
  • Excon integration (#211) (@walterking)
  • Rake integration (supporting Ruby 2.0+, Rake 12.0+) (#409)
  • Request queuing tracing to Rack (experimental) (#272)
  • ActiveSupport::Notifications::Event helper for event tracing (#400)
  • Request and response header tags to Rack (#389)

Refactored

  • Hash quantization into core library (#410)

0.12.0

08 May 16:52
3621e5c
Compare
Choose a tag to compare

Changes to quantization

Rack and Elasticsearch now have quantization enabled by default.

  • Rack's http.url quantizes query string values.
  • Elasticsearch's elasticsearch.body quantizes body values.

Quantization behavior can be configured: see the API documentation for Rack and Elasticsearch.

Breaking changes

  • If the rack integration was being configured with middleware_names, now it must also provide the application option, with a reference to the completed Rack application stack. This is necessary so middleware can be properly instrumented.

    If you are using rails and would like to activate middleware_names, you can provide the middleware_names option to rails without the application option (which therails integration will automatically provide to rack.) See the documentation for Rack and Rails for more details.

Changelog

Read the full changeset and the release milestone.

Added

  • GraphQL integration (supporting graphql 1.7.9+) (#295)
  • ActiveRecord object instantiation tracing (#311, #334)
  • Subscriber module for ActiveSupport::Notifications tracing (#324, #380, #390, #395) (@dasch)
  • HTTP quantization module (#384)
  • Partial flushing option to tracer (#247, #397)

Changed

  • Rack applies URL quantization by default (#371)
  • Elasticsearch applies body quantization by default (#362)
  • Context for a single trace now has hard limit of 100,000 spans (#247)
  • Tags with rails.db.x to active_record.db.x instead (#396)

Fixed

  • Loading the ddtrace library after Rails has fully initialized can result in load errors. (#357)
  • Some scenarios where middleware_names could result in bad resource names (#354)
  • ActionController instrumentation conflicting with some gems that monkey patch Rails (#391)

Deprecated

  • Use of :datadog_rack_request_span variable in favor of 'datadog.rack_request_span' in Rack. To be removed in 0.14.0 (#365, #392)

Refactored

  • Racecar to use ActiveSupport::Notifications Subscriber module (#381)
  • Rails to use ActiveRecord integration instead of its own implementation (#396)
  • ActiveRecord to use ActiveSupport::Notifications Subscriber module (#396)

0.12.0.rc1

11 Apr 21:07
1d49453
Compare
Choose a tag to compare
0.12.0.rc1 Pre-release
Pre-release

Overview

0.12.0 adds a variety of new features, and introduces a few changes to existing functionality.

Changes to quantization

Rack and Elasticsearch now have quantization enabled by default.

  • Rack's http.url quantizes query string values.
  • Elasticsearch's elasticsearch.body quantizes body values.

Quantization behavior can be configured: see the API documentation for Rack and Elasticsearch.

Breaking changes

  • If the rack integration was being configured with middleware_names, now it must also provide the application option, with a reference to the completed Rack application stack. This is necessary so middleware can be properly instrumented.

    If you are using rails and would like to activate middleware_names, you can provide the middleware_names option to rails without the application option (which therails integration will automatically provide to rack.) See the documentation for Rack and Rails for more details.

Changelog

Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.12.0.rc1

Git diff: v0.11.4...v0.12.0.rc1

Added

  • GraphQL integration (supporting graphql 1.7.9+) (#295)
  • ActiveRecord object instantiation tracing (#311, #334)
  • Subscriber module for ActiveSupport::Notifications tracing (#324, #380, #390, #395) (@dasch)
  • HTTP quantization module (#384)
  • Partial flushing option to tracer (#247, #397)

Changed

  • Rack applies URL quantization by default (#371)
  • Elasticsearch applies body quantization by default (#362)
  • Context for a single trace now has hard limit of 100,000 spans (#247)
  • Tags with rails.db.x to active_record.db.x instead (#396)

Fixed

  • Loading the ddtrace library after Rails has fully initialized can result in load errors. (#357)
  • Some scenarios where middleware_names could result in bad resource names (#354)
  • ActionController instrumentation conflicting with some gems that monkey patch Rails (#391)

Deprecated

  • Use of :datadog_rack_request_span variable in favor of 'datadog.rack_request_span' in Rack. To be removed in 0.14.0 (#365, #392)

Refactored

  • Racecar to use ActiveSupport::Notifications Subscriber module (#381)
  • Rails to use ActiveRecord integration instead of its own implementation (#396)
  • ActiveRecord to use ActiveSupport::Notifications Subscriber module (#396)

0.11.4

29 Mar 17:56
d4a2613
Compare
Choose a tag to compare

Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.11.4

Git diff: v0.11.3...v0.11.4

Fixed

  • Transport body parsing when downgrading (#369)
  • Transport incorrectly attempting to apply sampling to service metadata (#370)
  • sql.active_record traces showing incorrect adapter settings when non-default adapter used (#383)

Read the full changeset and the release milestone.

0.11.3

12 Mar 17:45
6663d82
Compare
Choose a tag to compare

Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.11.3

Git diff: v0.11.2...v0.11.3

Added

Fixed

  • Extra indentation in README.md (#349) (@ck3g)
  • http.url when Rails raises exceptions (#351, #353)
  • Rails from being patched twice (#352)
  • 4XX responses from middleware being marked as errors (#345)
  • Rails exception middleware sometimes not being inserted at correct position (#345)
  • Processing pipeline documentation typo (#355) (@MMartyn)
  • Loading the ddtrace library after Rails has fully initialized can result in load errors. (#357)
  • Use of block syntax with Rails render not working (#359, #360) (@dorner)