Module: Datadog::OpenTracer::Propagator Abstract
- Included in:
- BinaryPropagator, RackPropagator, TextMapPropagator
- Defined in:
- lib/datadog/opentracer/propagator.rb
Overview
This module is abstract.
OpenTracing propagator for Datadog::OpenTracer::Tracer
Instance Method Summary collapse
-
#extract(carrier) ⇒ SpanContext?
Extract a SpanContext in the given format from the given carrier.
-
#inject(span_context, carrier) ⇒ Object
Inject a SpanContext into the given carrier.
Instance Method Details
#extract(carrier) ⇒ SpanContext?
Extract a SpanContext in the given format from the given carrier.
21 22 23 |
# File 'lib/datadog/opentracer/propagator.rb', line 21 def extract(carrier) raise NotImplementedError end |
#inject(span_context, carrier) ⇒ Object
Inject a SpanContext into the given carrier
13 14 15 |
# File 'lib/datadog/opentracer/propagator.rb', line 13 def inject(span_context, carrier) raise NotImplementedError end |