Sha256: 5109c1044c0a30b5c3f5b4fa7411aa8a96eab9d8d194c24614187cb25c6c0a23

Contents?: true

Size: 728 Bytes

Versions: 6

Compression:

Stored size: 728 Bytes

Contents

# typed: true
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

6 entries across 6 versions & 1 rubygems

Version Path
ddtrace-1.0.0.beta1 lib/datadog/opentracer/binary_propagator.rb
ddtrace-0.54.2 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.54.1 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.54.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.53.0 lib/ddtrace/opentracer/binary_propagator.rb
ddtrace-0.52.0 lib/ddtrace/opentracer/binary_propagator.rb