Module: Test::Propagation::Extractor

Included in:
Codec
Defined in:
lib/test/propagation/extractor.rb

Instance Method Summary collapse

Instance Method Details

#extract(carrier) ⇒ SpanContext?

Extract a SpanContext from the given carrier.

Parameters:

  • carrier (Carrier)

    A carrier object

Returns:

  • (SpanContext, nil)

    the extracted SpanContext or nil if none could be found



8
9
# File 'lib/test/propagation/extractor.rb', line 8

def extract(carrier)
end