File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 44import opentracing as ot
55import instana .options as o
66import instana .sensor as s
7- import instana .propagator as tp
87
98from basictracer .context import SpanContext
109from basictracer .span import BasicSpan
10+ from basictracer .text_propagator import TextPropagator
11+ from basictracer .binary_propagator import BinaryPropagator
12+ from instana .propagator import HTTPPropagator
1113from instana .util import generate_id
1214
1315# In case a user or app creates multiple tracers, we limit to just
@@ -29,7 +31,9 @@ def __init__(self, options=o.Options()):
2931 super (InstanaTracer , self ).__init__ (
3032 r .InstanaRecorder (self .sensor ), r .InstanaSampler ())
3133
32- self ._propagators [ot .Format .HTTP_HEADERS ] = tp .HTTPPropagator ()
34+ self ._propagators [ot .Format .HTTP_HEADERS ] = HTTPPropagator ()
35+ self ._propagators [ot .Format .TEXT_MAP ] = TextPropagator ()
36+ self ._propagators [ot .Format .BINARY ] = BinaryPropagator ()
3337
3438 def start_span (
3539 self ,
You can’t perform that action at this time.
0 commit comments