Skip to content

0.16.0

Compare
Choose a tag to compare
@delner delner released this 20 Sep 18:39
· 10175 commits to master since this release
edd3d55

Version 0.16.0 adds support for OpenTracing 0.4.1 (in combination with Ruby 2.1), allowing applications instrumented with OpenTracing to send traces through the Datadog Ruby tracer.

Setting up OpenTracing with Datadog

Add the following to your OpenTracing configuration file (e.g. initializers/opentracer.rb):

require 'opentracing'
require 'ddtrace'
require 'ddtrace/opentracer'

# Activate the Datadog tracer for OpenTracing
OpenTracing.global_tracer = Datadog::OpenTracer::Tracer.new

This will configure OpenTracing to send its traces through the Datadog tracer. By default, only OpenTracing spans will be sent, but additional Datadog instrumentation can optionally be activated using Datadog.configure. See the documentation for more details.

Changelog

Added

  • OpenTracing support (#517)
  • middleware option for disabling Rails trace middleware. (#552)

Read the full changeset and the release milestone.