Sha256: c1ddbee8d69adf27fd593b1a02bef184b78c04dabe65f6be70b90db5d286b4d2
Contents?: true
Size: 383 Bytes
Versions: 21
Compression:
Stored size: 383 Bytes
Contents
module Datadog module OpenTracer # Patch for OpenTracing module module GlobalTracer def global_tracer=(tracer) super.tap do if tracer.class <= Datadog::OpenTracer::Tracer # Update the Datadog global tracer, too. Datadog.configure { |c| c.tracer = tracer.datadog_tracer } end end end end end end
Version data entries
21 entries across 21 versions & 2 rubygems
Version | Path |
---|---|
ddtrace-0.35.0 | lib/ddtrace/opentracer/global_tracer.rb |