module Datadog::OpenTracer::BinaryPropagator
OpenTracing propagator for Datadog::OpenTracer::Tracer
Public Class Methods
extract(carrier)
click to toggle source
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
# File lib/ddtrace/opentracer/binary_propagator.rb, line 19 def self.extract(carrier) SpanContext::NOOP_INSTANCE end
inject(span_context, carrier)
click to toggle source
Inject a SpanContext
into the given carrier
@param span_context [SpanContext] @param carrier [Carrier] A carrier object of Binary type
# File lib/ddtrace/opentracer/binary_propagator.rb, line 11 def self.inject(span_context, carrier) nil end