Module: Datadog::OpenTracer::BinaryPropagator
- Extended by:
- Propagator
- Defined in:
- lib/ddtrace/opentracer/binary_propagator.rb
Overview
OpenTracing propagator for Datadog::OpenTracer::Tracer
Class Method Summary collapse
-
.extract(carrier) ⇒ SpanContext?
Extract a SpanContext in Binary format from the given carrier.
-
.inject(span_context, carrier) ⇒ Object
Inject a SpanContext into the given carrier.
Methods included from Propagator
Class Method Details
.extract(carrier) ⇒ SpanContext?
Extract a SpanContext in Binary format from the given carrier.
19 20 21 |
# File 'lib/ddtrace/opentracer/binary_propagator.rb', line 19 def self.extract(carrier) SpanContext::NOOP_INSTANCE end |
.inject(span_context, carrier) ⇒ Object
Inject a SpanContext into the given carrier
11 12 13 |
# File 'lib/ddtrace/opentracer/binary_propagator.rb', line 11 def self.inject(span_context, carrier) nil end |