0.16.0
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
Read the full changeset and the release milestone.