Module: Datadog::OpenTracer::Propagator
- Included in:
- BinaryPropagator, RackPropagator, TextMapPropagator
- Defined in:
- lib/ddtrace/opentracer/propagator.rb
Overview
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.
17 18 19 |
# File 'lib/ddtrace/opentracer/propagator.rb', line 17 def extract(carrier) raise NotImplementedError end |
#inject(span_context, carrier) ⇒ Object
Inject a SpanContext into the given carrier
9 10 11 |
# File 'lib/ddtrace/opentracer/propagator.rb', line 9 def inject(span_context, carrier) raise NotImplementedError end |