Sha256: 9fe98d723a06b3d4cb7f45d8949ff55bf384c0aa8cb8e6a943155cd15a919397

Contents?: true

Size: 761 Bytes

Versions: 63

Compression:

Stored size: 761 Bytes

Contents

module Datadog
  module OpenTracer
    # OpenTracing propagator for Datadog::OpenTracer::Tracer
    module Propagator
      # Inject a SpanContext into the given carrier
      #
      # @param span_context [SpanContext]
      # @param carrier [Carrier] A carrier object of the type dictated by the specified `format`
      def inject(span_context, carrier)
        raise NotImplementedError
      end

      # Extract a SpanContext in the given format from the given carrier.
      #
      # @param carrier [Carrier] A carrier object of the type dictated by the specified `format`
      # @return [SpanContext, nil] the extracted SpanContext or nil if none could be found
      def extract(carrier)
        raise NotImplementedError
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
ddtrace-0.35.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.35.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.34.2 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.34.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.34.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.33.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.33.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.32.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.31.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.31.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.30.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.30.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.29.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.26.1 lib/ddtrace/opentracer/propagator.rb
ls-trace-0.1.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.29.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.28.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.27.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.26.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.25.1 lib/ddtrace/opentracer/propagator.rb