Sha256: 58daf53e1a105bf74a76b05b50280c1303a16ae841f9d9c993caa56efb81f693

Contents?: true

Size: 1.14 KB

Versions: 14

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true

require 'opentracing'
require 'opentracing/carrier'
require_relative 'tracing'

require_relative 'opentracer/carrier'
require_relative 'opentracer/tracer'
require_relative 'opentracer/span'
require_relative 'opentracer/span_context'
require_relative 'opentracer/span_context_factory'
require_relative 'opentracer/scope'
require_relative 'opentracer/scope_manager'
require_relative 'opentracer/thread_local_scope'
require_relative 'opentracer/thread_local_scope_manager'
require_relative 'opentracer/distributed_headers'
require_relative 'opentracer/propagator'
require_relative 'opentracer/text_map_propagator'
require_relative 'opentracer/binary_propagator'
require_relative 'opentracer/rack_propagator'
require_relative 'opentracer/global_tracer'

# Modify the OpenTracing module functions
::OpenTracing.singleton_class.prepend(Datadog::OpenTracer::GlobalTracer)

module Datadog
  # Datadog OpenTracing integration.
  # DEV: This module should be named `Datadog::OpenTracing` to match the gem (`opentracing`).
  module OpenTracer
    # Used by Telemetry to decide if OpenTracing instrumentation is enabled
    LOADED = true
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ddtrace-1.23.3 lib/datadog/opentracer.rb
ddtrace-1.23.2 lib/datadog/opentracer.rb
ddtrace-1.23.1 lib/datadog/opentracer.rb
ddtrace-1.22.0 lib/datadog/opentracer.rb
ddtrace-1.21.1 lib/datadog/opentracer.rb
ddtrace-1.21.0 lib/datadog/opentracer.rb
ddtrace-1.20.0 lib/datadog/opentracer.rb
ddtrace-1.19.0 lib/datadog/opentracer.rb
ddtrace-1.18.0 lib/datadog/opentracer.rb
ddtrace-1.17.0 lib/datadog/opentracer.rb
ddtrace-1.16.2 lib/datadog/opentracer.rb
ddtrace-1.16.1 lib/datadog/opentracer.rb
ddtrace-1.16.0 lib/datadog/opentracer.rb
ddtrace-1.15.0 lib/datadog/opentracer.rb