File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ This Python package supports [OpenTracing](http://opentracing.io/). When using
36
36
``` Python
37
37
import opentracing
38
38
39
- with ot .tracer.start_active_span(' asteroid 💫' ) as pscope:
39
+ with opentracing .tracer.start_active_span(' asteroid 💫' ) as pscope:
40
40
pscope.span.set_tag(ext.COMPONENT , " Python simple example app" )
41
41
pscope.span.set_tag(ext.SPAN_KIND , ext.SPAN_KIND_RPC_SERVER )
42
42
pscope.span.set_tag(ext.PEER_HOSTNAME , " localhost" )
@@ -46,7 +46,7 @@ with ot.tracer.start_active_span('asteroid 💫') as pscope:
46
46
pscope.span.log_kv({" foo" : " bar" })
47
47
# ... work ...
48
48
49
- with ot .tracer.start_active_span(' spacedust 🌚' , child_of = pscope.span) as cscope:
49
+ with opentracing .tracer.start_active_span(' spacedust 🌚' , child_of = pscope.span) as cscope:
50
50
cscope.span.set_tag(ext.SPAN_KIND , ext.SPAN_KIND_RPC_CLIENT )
51
51
cscope.span.set_tag(ext.PEER_HOSTNAME , " localhost" )
52
52
cscope.span.set_tag(ext.HTTP_URL , " /python/simple/two" )
You can’t perform that action at this time.
0 commit comments