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.51.1 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.51.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.50.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.49.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.48.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.47.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.46.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.45.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.44.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.43.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.42.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.41.0 lib/ddtrace/opentracer/propagator.rb
ls-trace-0.2.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.40.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.39.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.38.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.37.0 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.36.0 lib/ddtrace/opentracer/propagator.rb
ls-trace-0.1.2 lib/ddtrace/opentracer/propagator.rb
ddtrace-0.35.2 lib/ddtrace/opentracer/propagator.rb