Sha256: dd890579f1c2822c135a952432cef87f590055fca9115e3a18644fba7e8f4ee7

Contents?: true

Size: 714 Bytes

Versions: 65

Compression:

Stored size: 714 Bytes

Contents

module Datadog
  module OpenTracer
    # OpenTracing propagator for Datadog::OpenTracer::Tracer
    module BinaryPropagator
      extend Propagator

      # Inject a SpanContext into the given carrier
      #
      # @param span_context [SpanContext]
      # @param carrier [Carrier] A carrier object of Binary type
      def self.inject(span_context, carrier)
        nil
      end

      # Extract a SpanContext in Binary format from the given carrier.
      #
      # @param carrier [Carrier] A carrier object of Binary type
      # @return [SpanContext, nil] the extracted SpanContext or nil if none could be found
      def self.extract(carrier)
        SpanContext::NOOP_INSTANCE
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 2 rubygems

Version Path
ddtrace-1.10.1 lib/datadog/opentracer/binary_propagator.rb
ddtrace-1.10.0 lib/datadog/opentracer/binary_propagator.rb
ddtrace-0.51.1 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.51.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.50.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.49.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.48.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.47.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.46.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.45.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.44.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.43.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.42.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.41.0 lib/ddtrace/opentracer/binary_propagator.rb
ls-trace-0.2.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.40.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.39.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.38.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.37.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.36.0 lib/ddtrace/opentracer/binary_propagator.rb