Skip to content

Releases: DataDog/dd-trace-rb

0.23.0

30 Apr 17:36
252af41
Compare
Choose a tag to compare

Added

  • Error status support via tags for OpenTracing (#739)
  • Forced sampling support via tags (#720)

Fixed

Removed

  • Obsolete service telemetry (#738)

Read the full changeset and the release milestone.

0.22.0

15 Apr 22:27
67bc474
Compare
Choose a tag to compare

In this release we are adding initial support for the beta Runtime metrics collection feature.

Changed

Added

  • Initial beta support for Runtime metrics collection (#677)

Read the full changeset and the release milestone.

0.21.2

10 Apr 17:35
b45815e
Compare
Choose a tag to compare

Changed

Read the full changeset and the release milestone.

0.21.1

26 Mar 23:17
74c7d44
Compare
Choose a tag to compare

Changed

  • Support TAG_ENABLED for custom instrumentation with analytics. (#728)

Read the full changeset and the release milestone.

0.21.0

20 Mar 22:06
73e841b
Compare
Choose a tag to compare

Added

  • Trace analytics support (#697, #715)
  • HTTP after_request span hook (#716, #724)

Fixed

Refactored

  • Global configuration for tracing into configuration API (#714)

Read the full changeset and the release milestone.

0.20.0

08 Mar 13:20
1527003
Compare
Choose a tag to compare

This release will log deprecation warnings for any usage of Datadog::Pin.
These changes are backwards compatible, but all integration configuration should be moved away from Pin and to the configuration API instead.

Added

  • Propagate synthetics origin header (#699)

Changed

  • Enable distributed tracing by default (#701)

Fixed

  • Fix Rack http_server.queue spans missing from distributed traces (#709)

Refactored

  • Refactor MongoDB to use instrumentation module (#704)
  • Refactor HTTP to use instrumentation module (#703)
  • Deprecate GRPC global pin in favor of configuration API (#702)
  • Deprecate Grape pin in favor of configuration API (#700)
  • Deprecate Faraday pin in favor of configuration API (#696)
  • Deprecate Dalli pin in favor of configuration API (#693)

Read the full changeset and the release milestone.

0.19.1

08 Feb 01:13
ff0bad4
Compare
Choose a tag to compare

Added

Fixed

  • Priority sampling dropping spans (#686)

Read the full changeset and the release milestone.

0.19.0

22 Jan 21:22
e3f2c70
Compare
Choose a tag to compare

This release adds a few new features for users who use Datadog's logging, trace search & analytics feature.

Easy correlation between logs and tracing

The tracer now has active_correlation method which can return the trace ID and span ID of the active trace. This can be used to correlate application logs with traces.

Rails users can implement this with:

Rails.application.configure do
  config.log_tags = [proc { Datadog.tracer.active_correlation.to_s }]
end

For more details, and other implementations for Ruby applications, check out the documentation.

Opt-in support for adding additional instrumentation to trace search & analytics

Some integrations now can be configured with a event_sample_rate option to enable sampling their spans for trace search for analytics, including:

  • Delayed Job
  • Racecar
  • Rack
  • Rake
  • Resque
  • Shoryuken
  • Sidekiq
  • Sucker Punch

For example, to enable for Rack, add the following to your configuration file:

Datadog.configure do |c|
  c.use :rack, event_sample_rate: 1.0
end

To learn more about trace search and analytics, check out our blog post and documentation. For more details on how to implement, check out the tracer documentation.

Added

  • Tracer#active_correlation for adding correlation IDs to logs. (#660, #664, #673)
  • Opt-in support for event_sample_rate tag for some integrations. (#665, #666)

Changed

  • Priority sampling enabled by default. (#654)

Read the full changeset and the release milestone.

0.18.3

17 Jan 22:22
0a12fb3
Compare
Choose a tag to compare

Fixed

  • Mongo NoMethodError when no span available during #failed. (#674, #675) (@Azure7111)
  • Rack deprecation warnings firing with some 3rd party libraries present. (#672)
  • Shoryuken resource name when used with ActiveJob. (#671) (@aurelian)

Read the full changeset and the release milestone.

0.18.2

03 Jan 20:09
b002e79
Compare
Choose a tag to compare

Fixed

Read the full changeset and the release milestone.