Skip to content

Commit cc15e4a

Browse files
committed
FIX start_span(): basictracer-python was updated
Actual version of basictracer-python seems to had replaced ``parent`` by ``child_of``, as seen in: https://github.com/opentracing/basictracer-python/blob/eaf86dc/basictracer/tracer.py#L50
1 parent 9c8d18c commit cc15e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/example_opentracing_socket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
if i % 2 == 0:
3030
span.log_event("Hello world!")
3131

32-
child_span = tracer.start_span("child", parent=span)
32+
child_span = tracer.start_span("child", child_of=span)
3333
child_span.finish()
3434

3535
span.finish(finish_time=time.time()+2)

0 commit comments

Comments
 (0)