File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
3636``` Python
3737import opentracing
3838
39- with ot .tracer.start_active_span(' asteroid 💫' ) as pscope:
39+ with opentracing .tracer.start_active_span(' asteroid 💫' ) as pscope:
4040 pscope.span.set_tag(ext.COMPONENT , " Python simple example app" )
4141 pscope.span.set_tag(ext.SPAN_KIND , ext.SPAN_KIND_RPC_SERVER )
4242 pscope.span.set_tag(ext.PEER_HOSTNAME , " localhost" )
@@ -46,7 +46,7 @@ with ot.tracer.start_active_span('asteroid 💫') as pscope:
4646 pscope.span.log_kv({" foo" : " bar" })
4747 # ... work ...
4848
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:
5050 cscope.span.set_tag(ext.SPAN_KIND , ext.SPAN_KIND_RPC_CLIENT )
5151 cscope.span.set_tag(ext.PEER_HOSTNAME , " localhost" )
5252 cscope.span.set_tag(ext.HTTP_URL , " /python/simple/two" )
You can’t perform that action at this time.
0 commit comments