Sha256: 298bf15d301e4942cab80737339aaeb6cdacd287503b8e0ca8f558b6e92be9c1
Contents?: true
Size: 408 Bytes
Versions: 16
Compression:
Stored size: 408 Bytes
Contents
# typed: true 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.tracing.instance = tracer.datadog_tracer } end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems